MessageProperties.ICollection<KeyValuePair<String,Object>>.CopyTo(KeyValuePair<String,Object>[], Int32) Method

Definition

Copies the content of the specified MessageProperties to an array, starting at the specified index.

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int index) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::CopyTo;
void ICollection<KeyValuePair<string,object>>.CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int index);
Sub CopyTo (array As KeyValuePair(Of String, Object)(), index As Integer) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo

Parameters

array
KeyValuePair<String,Object>[]

The array to copy the collection to.

index
Int32

The index to start from.

Applies to