Bewerken

Share via


MessageQueryTable<TItem>.CopyTo Method

Definition

Copies the elements of the collection to an Array, starting at the specified index.

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageQuery ^, TItem>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery,TItem>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of MessageQuery, TItem)(), arrayIndex As Integer)

Parameters

array
KeyValuePair<MessageQuery,TItem>[]

The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in the array at which copying begins.

Implements

Applies to