共用方式為


SPFeatureCollection.ICollection.CopyTo Method

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ExplicitInterfaceProperty)> _
Private Sub CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
'Usage
Dim instance As SPFeatureCollection
Dim array As Array
Dim index As Integer

CType(instance, ICollection).CopyTo(array, _
    index)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ExplicitInterfaceProperty)]
void ICollection.CopyTo(
    Array array,
    int index
)

Parameters

  • array
    Type: System.Array

    The one-dimensional Array that is the destination of the elements copied from the collection. The Array must have zero-based indexing.

  • index
    Type: System.Int32

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

Implements

ICollection.CopyTo(Array, Int32)

See Also

Reference

SPFeatureCollection Class

SPFeatureCollection Members

Microsoft.SharePoint Namespace