Share via


UnknownXmlElementCollection.CopyTo Method

Copies the items in the collection to an array starting at the index that is passed.

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

Syntax

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

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

Parameters

  • array
    Type: []

    The name of the array that you want to copy the collection to.

  • index
    Type: System.Int32

    The point in the array at which you want to start copying the collection.

See Also

Reference

UnknownXmlElementCollection Class

UnknownXmlElementCollection Members

Microsoft.SharePoint.WebPartPages Namespace