ModelBinderDictionary.CopyTo 方法

定義

從指定的索引開始,將模型繫結器字典的項目複製到陣列。

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<Type ^, System::Web::ModelBinding::IModelBinder ^>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<Type,System.Web.ModelBinding.IModelBinder>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<Type, System.Web.ModelBinding.IModelBinder>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<Type, System.Web.ModelBinding.IModelBinder>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of Type, IModelBinder)(), arrayIndex As Integer)

參數

array
KeyValuePair<Type,IModelBinder>[]

目的陣列。 陣列必須是一維,並且有以零起始的索引。

arrayIndex
Int32

array 中以零為起始的索引,即開始複製的位置。

實作

適用於