ArrayModelBinder<TElement> Class
Maps a browser request to an array.
Inheritance Hierarchy
System.Object
System.Web.Http.ModelBinding.Binders.CollectionModelBinder<TElement>
System.Web.Http.ModelBinding.Binders.ArrayModelBinder<TElement>
Namespace: System.Web.Http.ModelBinding.Binders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class ArrayModelBinder(Of TElement) _
Inherits CollectionModelBinder(Of TElement)
'Usage
Dim instance As ArrayModelBinder(Of TElement)
public class ArrayModelBinder<TElement> : CollectionModelBinder<TElement>
generic<typename TElement>
public ref class ArrayModelBinder : public CollectionModelBinder<TElement>
type ArrayModelBinder<'TElement> =
class
inherit CollectionModelBinder<'TElement>
end
JScript does not support generic types and methods.
Type Parameters
- TElement
The type of the array.
The ArrayModelBinder<TElement> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ArrayModelBinder<TElement> | Initializes a new instance of the ArrayModelBinder<TElement> class. |
Top
Methods
Name | Description | |
---|---|---|
BindModel | Indicates whether the model is binded. (Overrides CollectionModelBinder<TElement>.BindModel(HttpActionContext, ModelBindingContext).) | |
CreateOrReplaceCollection | Converts the collection to an array. (Overrides CollectionModelBinder<TElement>.CreateOrReplaceCollection(HttpActionContext, ModelBindingContext, IList<TElement>).) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.