共用方式為


GlobalObjectCollection.CopyTo Method

Copies the contents of this collection to the given array starting at the given index.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
Public Sub CopyTo ( _
    array As GlobalObject(), _
    index As Integer _
)
public void CopyTo(
    GlobalObject[] array,
    int index
)

Parameters

  • index
    Type: System.Int32
    The position in the collection at which to begin copying.

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace