GlobalObjectCollection.ICollection.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
'Declaration
Private Sub CopyTo ( _
array As Array, _
index As Integer _
) Implements ICollection.CopyTo
void ICollection.CopyTo(
Array array,
int index
)
private:
virtual void CopyTo(
Array^ array,
int index
) sealed = ICollection::CopyTo
private abstract CopyTo :
array:Array *
index:int -> unit
private override CopyTo :
array:Array *
index:int -> unit
JScript does not support explicit interface implementations.
Parameters
array
Type: ArrayThe destination for the copied items.
index
Type: Int32The position in the array at which to begin copying.
Implements
ICollection.CopyTo(Array, Int32)
.NET Framework Security
- 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.