CollectionModelBinder<TElement> Class

Definition

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)

Applies to