Share via


SPNavigationNodeCollection.CopyTo Method

Copies all members of the collection to the specified array, starting at the specified destination array index.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)> _
Public Sub CopyTo ( _
    array As SPNavigationNode(), _
    index As Integer _
)
'Usage
Dim instance As SPNavigationNodeCollection
Dim array As SPNavigationNode()
Dim index As Integer

instance.CopyTo(array, index)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)]
public void CopyTo(
    SPNavigationNode[] array,
    int index
)

Parameters

  • index
    Type: System.Int32

    Location in the destination array to which the collection is copied.

See Also

Reference

SPNavigationNodeCollection Class

SPNavigationNodeCollection Members

Microsoft.SharePoint.Navigation Namespace

Microsoft.SharePoint.Navigation.SPNavigationNode