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)


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

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


  • array
    Type: []

    The target array to which the properties are copied.

  • index
    Type: System.Int32

    The start index of the target array.


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

See also


SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Microsoft.SharePoint.WebPartPages namespace