ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.CopyTo Method
Copies the contents of this dictionary to the specified array at the specified index.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Декларация
Private Sub CopyTo ( _
array As KeyValuePair(Of TKey, TValue)(), _
arrayIndex As Integer _
) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).CopyTo
void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(
KeyValuePair<TKey, TValue>[] array,
int arrayIndex
)
private:
virtual void CopyTo(
array<KeyValuePair<TKey, TValue>>^ array,
int arrayIndex
) sealed = ICollection<KeyValuePair<TKey, TValue>>::CopyTo
private abstract CopyTo :
array:KeyValuePair<'TKey, 'TValue>[] *
arrayIndex:int -> unit
private override CopyTo :
array:KeyValuePair<'TKey, 'TValue>[] *
arrayIndex:int -> unit
JScript does not support explicit interface implementations.
Parameters
- array
Type: array<System.Collections.Generic.KeyValuePair<TKey, TValue>[]
The target array that will receive the results of this copy.
- arrayIndex
Type: System.Int32
The index in the target array from which the copied contents will start.
Implements
ICollection<T>.CopyTo(array<T[], 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.