Share via


ConsoleNodeCollection.CopyTo Method

Copies items in the collection, starting from the value specified by the index parameter into the ConsoleNode array specified by the array parameter.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Sub CopyTo ( _
    array As ConsoleNode(), _
    index As Integer _
)
'Usage
Dim instance As ConsoleNodeCollection
Dim array As ConsoleNode()
Dim index As Integer

instance.CopyTo(array, index)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public void CopyTo(
    ConsoleNode[] array,
    int index
)

Parameters

  • array
    Type: []

    The ConsoleNode array into which to copy items from the collection.

  • index
    Type: System.Int32

    The starting index from which to start copying items in the collection.

Implements

ICollection<T>.CopyTo([], Int32)

See Also

Reference

ConsoleNodeCollection Class

ConsoleNodeCollection Members

Microsoft.SharePoint.Publishing.WebControls Namespace