CollectionModelBinder<TElement> Class
Maps a browser request to a collection.
Inheritance Hierarchy
System.Object
System.Web.Http.ModelBinding.Binders.CollectionModelBinder<TElement>
System.Web.Http.ModelBinding.Binders.ArrayModelBinder<TElement>
System.Web.Http.ModelBinding.Binders.DictionaryModelBinder<TKey, TValue>
Namespace: System.Web.Http.ModelBinding.Binders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class CollectionModelBinder(Of TElement) _
Implements IModelBinder
'Usage
Dim instance As CollectionModelBinder(Of TElement)
public class CollectionModelBinder<TElement> : IModelBinder
generic<typename TElement>
public ref class CollectionModelBinder : IModelBinder
type CollectionModelBinder<'TElement> =
class
interface IModelBinder
end
JScript does not support generic types and methods.
Type Parameters
- TElement
The type of the collection.
The CollectionModelBinder<TElement> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CollectionModelBinder<TElement> | Initializes a new instance of the CollectionModelBinder<TElement> class. |
Top
Methods
Name | Description | |
---|---|---|
BindModel | Binds the model by using the specified execution context and binding context. | |
CreateOrReplaceCollection | Provides a way for derived classes to manipulate the collection before returning it from the binder. | |
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.