SbNativeArrayTCopy Method (SbNativeArrayT, Int32, SbNativeArrayT, Int32, Int32) |
Copy count elements from source (starting at sourceIndex) to destination
(starting at destinationIndex).
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public static void Copy(
SbNativeArray<T> source,
int sourceIndex,
SbNativeArray<T> destination,
int destinationIndex,
int count
)
Public Shared Sub Copy (
source As SbNativeArray(Of T),
sourceIndex As Integer,
destination As SbNativeArray(Of T),
destinationIndex As Integer,
count As Integer
)
public:
static void Copy(
SbNativeArray<T>^ source,
int sourceIndex,
SbNativeArray<T>^ destination,
int destinationIndex,
int count
)
static member Copy :
source : SbNativeArray<'T> *
sourceIndex : int *
destination : SbNativeArray<'T> *
destinationIndex : int *
count : int -> unit
Parameters
- source
- Type: OIV.Inventor.GenericSbNativeArrayT
Source object - sourceIndex
- Type: SystemInt32
Start element for copy - destination
- Type: OIV.Inventor.GenericSbNativeArrayT
Destination object - destinationIndex
- Type: SystemInt32
Start element for copy - count
- Type: SystemInt32
Number of elements to copy
Exceptions Exception | Condition |
---|
ArgumentNullException | If source or destination is null. |
ArgumentOutOfRangeException | sourceIndex or destinationIndex are not valid. |
See Also