Share via


ArrayModelBinder<TElement> Class

 

Maps a browser request to an array.

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

Inheritance Hierarchy

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

Syntax

public class ArrayModelBinder<TElement> : CollectionModelBinder<TElement>
generic<typename TElement>
public ref class ArrayModelBinder : CollectionModelBinder<TElement>
type ArrayModelBinder<'TElement> = 
    class
        inherit CollectionModelBinder<'TElement>
    end
Public Class ArrayModelBinder(Of TElement)
    Inherits CollectionModelBinder(Of TElement)

Type Parameters

  • TElement
    The type of the array.

Constructors

Name Description
System_CAPS_pubmethod ArrayModelBinder<TElement>()

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

Methods

Name Description
System_CAPS_pubmethod BindModel(ControllerContext, ExtensibleModelBindingContext)

Binds the model by using the specified controller context and binding context.(Inherited from CollectionModelBinder<TElement>.)

System_CAPS_protmethod CreateOrReplaceCollection(ControllerContext, ExtensibleModelBindingContext, IList<TElement>)

Converts the collection to an array.(Overrides CollectionModelBinder<TElement>.CreateOrReplaceCollection(ControllerContext, ExtensibleModelBindingContext, IList<TElement>).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.Web.Mvc.ModelBinding Namespace

Return to top