다음을 통해 공유


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 _
)
‘사용 방법
Dim instance As GlobalObjectCollection
Dim array As GlobalObject()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    GlobalObject[] array,
    int index
)
public:
void CopyTo(
    array<GlobalObject^>^ array, 
    int index
)
member CopyTo : 
        array:GlobalObject[] * 
        index:int -> unit 
public function CopyTo(
    array : GlobalObject[], 
    index : int
)

Parameters

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

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace