Edit

Bagikan melalui


ModelBinderDictionary.CopyTo Method

Definition

Copies the elements of the model binder dictionary to an array, starting at a specified index.

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)

Parameters

array
KeyValuePair<Type,IModelBinder>[]

The destination array. The array must be one-dimensional and have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying starts.

Implements

Applies to