CollectionModelBinder<TElement> Class
Maps a browser request to a collection.
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>
Microsoft.Web.Mvc.ModelBinding.DictionaryModelBinder<TKey, TValue>
Syntax
public class CollectionModelBinder<TElement> : IExtensibleModelBinder
generic<typename TElement>
public ref class CollectionModelBinder : IExtensibleModelBinder
type CollectionModelBinder<'TElement> =
class
interface IExtensibleModelBinder
end
Public Class CollectionModelBinder(Of TElement)
Implements IExtensibleModelBinder
Type Parameters
- TElement
The type of the collection.
Constructors
Name | Description | |
---|---|---|
![]() |
CollectionModelBinder<TElement>() | Initializes a new instance of the CollectionModelBinder<TElement> class. |
Methods
Name | Description | |
---|---|---|
![]() |
BindModel(ControllerContext, ExtensibleModelBindingContext) | Binds the model by using the specified controller context and binding context. |
![]() |
CreateOrReplaceCollection(ControllerContext, ExtensibleModelBindingContext, IList<TElement>) | Provides a way for derived classes to manipulate the collection before returning it from the binder. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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