ModelBinderDictionary.CopyTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將模型綁定器字典的元素複製到陣列,從指定的索引開始。
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 。