Share via


ThreadSafeReadOnlyObservableCollection<T>.CopyTo Method (T[], Int32)

 

Copies the elements of the collection to an array, starting at a specified index.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

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

Parameters

  • array
    Type: T[]

    The one-dimensional Array that is the destination of the elements copied from collection.

  • arrayIndex
    Type: System.Int32

    The zero-based index in array at which copying begins.

Implements

ICollection<T>.CopyTo(T[], Int32)

See Also

CopyTo Overload
ThreadSafeReadOnlyObservableCollection<T> Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top