CollectionModelBinder<TElement> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps a browser request to a collection.
generic <typename TElement>
public ref class CollectionModelBinder : System::Web::ModelBinding::IModelBinder
public class CollectionModelBinder<TElement> : System.Web.ModelBinding.IModelBinder
type CollectionModelBinder<'Element> = class
interface IModelBinder
Public Class CollectionModelBinder(Of TElement)
Implements IModelBinder
Type Parameters
- TElement
The type of the collection.
- Inheritance
-
CollectionModelBinder<TElement>
- Derived
- Implements
Constructors
CollectionModelBinder<TElement>() |
Initializes a new instance of the CollectionModelBinder<TElement> class. |
Methods
BindModel(ModelBindingExecutionContext, ModelBindingContext) |
Binds the model by using the specified execution context and binding context. |
CreateOrReplaceCollection(ModelBindingExecutionContext, ModelBindingContext, IList<TElement>) |
Provides a way for derived classes to manipulate the collection before returning it from the binder. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |