MessageFilterTable<TFilterData>.CopyTo 方法

定义

将 filter/FilterData 对复制到从指定索引开始的数组。

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)

参数

array
KeyValuePair<MessageFilter,TFilterData>[]

要向其复制对的 Filter FilterData> 类型的KeyValuePair<TKey,TValue><从零开始的数组。

arrayIndex
Int32

开始复制的索引位置。

实现

注解

此方法实现 CopyToICollection<T> 方法。

适用于