Export (0) Print
Expand All

ArrayModelBinder<TElement> Class

Maps a browser request to an array.

System.Object
  Microsoft.Web.Mvc.ModelBinding.CollectionModelBinder<TElement>
    Microsoft.Web.Mvc.ModelBinding.ArrayModelBinder<TElement>

Namespace:  Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

public class ArrayModelBinder<TElement> : CollectionModelBinder<TElement>

Type Parameters

TElement

The type of the array.

The ArrayModelBinder<TElement> type exposes the following members.

  NameDescription
Public methodArrayModelBinder<TElement>Initializes a new instance of the ArrayModelBinder<TElement> class.
Top

  NameDescription
Public methodBindModelBinds the model by using the specified controller context and binding context. (Inherited from CollectionModelBinder<TElement>.)
Protected methodCreateOrReplaceCollectionConverts the collection to an array. (Overrides CollectionModelBinder<TElement>.CreateOrReplaceCollection(ControllerContext, ExtensibleModelBindingContext, IList<TElement>).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft