ReadOnlyDictionary45<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.CopyTo Method
Namespace: Microsoft.ServiceBus.Common
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
'Declaration
Private Sub CopyTo ( _
array As KeyValuePair(Of TKey, TValue)(), _
arrayIndex As Integer _
) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).CopyTo
'Usage
Dim instance As ReadOnlyDictionary45
Dim array As KeyValuePair(Of TKey, TValue)()
Dim arrayIndex As Integer
CType(instance, ICollection(Of KeyValuePair(Of TKey, TValue))).CopyTo(array, _
arrayIndex)
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- array
Type: array<System.Collections.Generic.KeyValuePair<TKey, TValue>[]
- arrayIndex
Type: System.Int32
Implements
ICollection<T>.CopyTo(array<T[], Int32)