MessageFilterTable<TFilterData>.CopyTo(KeyValuePair<MessageFilter,TFilterData>[], Int32) Método

Definición

Copia los pares de filtro/FilterData en una matriz que se inicia en un índice especificado.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:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageFilter ^, TFilterData>> ^ array, int index);
public void CopyTo (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 index);
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
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)
Public Sub CopyTo (array As KeyValuePair(Of MessageFilter, TFilterData)(), index As Integer)

Parámetros

array
KeyValuePair<MessageFilter,TFilterData>[]

Matriz basada en cero de tipo KeyValuePair<TKey,TValue> <Filter, FilterData> en la que se copian los pares.The zero-based array of type KeyValuePair<TKey,TValue> <Filter, FilterData> to which the pairs are being copied.

arrayIndexindex
Int32

Índice en el que se va a empezar a copiar.The index at which to begin copying.

Comentarios

Este método implementa el método CopyTo de ICollection<T>.This method implements the CopyTo method of ICollection<T>.

Se aplica a