ClockVector.CopyTo Method
Copies the elements of the clock vector to array, starting at the index specified by arrayIndex.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As IClockVectorElement(), _
arrayIndex As Integer _
)
'Usage
Dim instance As ClockVector
Dim array As IClockVectorElement()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
IClockVectorElement[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<IClockVectorElement^>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:IClockVectorElement[] *
arrayIndex:int -> unit
override CopyTo :
array:IClockVectorElement[] *
arrayIndex:int -> unit
public final function CopyTo(
array : IClockVectorElement[],
arrayIndex : int
)
Parameters
- array
Type: array<Microsoft.Synchronization.IClockVectorElement[]
Clock vector elements are copied to this array.
- arrayIndex
Type: System.Int32
Copying starts at this index.
Implements
ICollection<T>.CopyTo(array<T[], Int32)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | array is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | arrayIndex is less than zero or would overflow array. |