MessageFilterTable<TFilterData>.CopyTo Method

Definition

Copies the filter/FilterData pairs to an array that starts at a specified index.

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

Parameters

array
KeyValuePair<MessageFilter,TFilterData>[]

The zero-based array of type KeyValuePair<TKey,TValue> <Filter, FilterData> to which the pairs are being copied.

arrayIndex
Int32

The index at which to begin copying.

Implements

Remarks

This method implements the CopyTo method of ICollection<T>.

Applies to