ReadOnlyDictionary<TKey, TValue>.ICollection.CopyTo Method
Copies the contents of this dictionary to the specified array, starting at the specified index.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
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.Array
The target array that will receive the contents of the copy.
- index
Type: System.Int32
The first index in the target array from which the copied contents will start.
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.