CollectionModelBinder<TElement> Class

 

Maps a browser request to a collection.

Namespace:   System.Web.Http.ModelBinding.Binders
Assembly:  System.Web.Http (in System.Web.Http.dll)


generic<typename TElement>
public ref class CollectionModelBinder : IModelBinder

Type Parameters

TElement

The type of the collection.

NameDescription
System_CAPS_pubmethodCollectionModelBinder<TElement>()

Initializes a new instance of the CollectionModelBinder<TElement> class.

NameDescription
System_CAPS_pubmethodBindModel(HttpActionContext^, ModelBindingContext^)

Binds the model by using the specified execution context and binding context.

System_CAPS_protmethodCreateOrReplaceCollection(HttpActionContext^, ModelBindingContext^, IList<TElement>^)

Provides a way for derived classes to manipulate the collection before returning it from the binder.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: