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
)
public function CopyTo(
array : GlobalObject[],
index : int
)
Parameters
array
Type: []A destination for copied objects.
index
Type: System.Int32The position in the collection at which to begin copying.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.