CopyTo Method

Copies the items of the collection to an array.

Namespace: Microsoft.Rtc.Workflow.Utilities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)


Public Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
public void CopyTo(
    T[] array,
    int arrayIndex
virtual void CopyTo(
    array<T>^ array, 
    int arrayIndex
) sealed
function copyTo(array, arrayIndex);


  • array
    Type: array<T>[]()[]
    The one-dimensional array that is the destination of the elements copied from BaseCollection. The array must have zero-based indexing.
  • arrayIndex
    Type: Int32
    The zero-based index in array at which copying begins.


ICollectionCopyTo(array<UTP>[]()[], Int32)

See Also

BaseCollection<(Of <(T>)>) Class

Microsoft.Rtc.Workflow.Utilities Namespace