แก้ไข

แชร์ผ่าน


ArrayModelBinder<TElement> Class

Definition

Maps a browser request to an array.

generic <typename TElement>
public ref class ArrayModelBinder : System::Web::ModelBinding::CollectionModelBinder<TElement>
public class ArrayModelBinder<TElement> : System.Web.ModelBinding.CollectionModelBinder<TElement>
type ArrayModelBinder<'Element> = class
    inherit CollectionModelBinder<'Element>
Public Class ArrayModelBinder(Of TElement)
Inherits CollectionModelBinder(Of TElement)

Type Parameters

TElement

The type of the array.

Inheritance
ArrayModelBinder<TElement>

Constructors

ArrayModelBinder<TElement>()

Initializes a new instance of the ArrayModelBinder<TElement> class.

Methods

BindModel(ModelBindingExecutionContext, ModelBindingContext)

Binds the model by using the specified execution context and binding context.

(Inherited from CollectionModelBinder<TElement>)
CreateOrReplaceCollection(ModelBindingExecutionContext, ModelBindingContext, IList<TElement>)

Converts the collection to an array.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to