TaskProvider.TaskCollection.ICollection.CopyTo Method
Copies the collection to an array, starting at the specified index.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.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: System.ArrayThe array to which to copy the collection.
index
Type: System.Int32The index of the array at which to start the copy.
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.