DataCollection<TKey,TValue>.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<TKey,TValue>[] array, int arrayIndex);
member this.CopyTo : System.Collections.Generic.KeyValuePair<'Key, 'Value>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of TKey, TValue)(), arrayIndex As Integer)
Parameters
- array
- KeyValuePair<TKey,TValue>[]
- arrayIndex
- Int32
Copies the entire DataCollection<TKey,TValue> to a compatible one-dimensional array, starting at the specified index of the target array.