Поделиться через


ReadOnlyCollectionBuilder<T>.CopyTo Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Copies the elements of the ReadOnlyCollectionBuilder<T> to an Array, starting at particular Array index.

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
public void CopyTo(
    T[] array,
    int arrayIndex
)

Parameters

  • arrayIndex
    Type: System.Int32
    The zero-based index in array at which copying begins.

Implements

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

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.