SPUserCodePropertyCollection.CopyTo Method

Copies the entire set of properties in the collection to an array, starting at the specified index of the target array.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As SPUserCodeProperty(), _
    index As Integer _
)
'Usage
Dim instance As SPUserCodePropertyCollection
Dim array As SPUserCodeProperty()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPUserCodeProperty[] array,
    int index
)

Parameters

  • array
    Type: []

    The target array to which the properties are copied.

  • index
    Type: System.Int32

    The start index of the target array.

Remarks

The properties are copied to the array in the same order in which the enumerator iterates through the collection.

See Also

Reference

SPUserCodePropertyCollection Class

SPUserCodePropertyCollection Members

Microsoft.SharePoint.WebPartPages Namespace