Поделиться через


ModelBinderDictionary.Item Property

Gets or sets the specified key in an object that implements the IModelBinder interface.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Default Property Item ( _
    key As Type _
) As IModelBinder
    Get
    Set
public IModelBinder this[
    Type key
] { get; set; }
public:
virtual property IModelBinder^ default[Type^ key] {
    IModelBinder^ get (Type^ key) sealed;
    void set (Type^ key, IModelBinder^ value) sealed;
}

Parameters

Property Value

Type: System.Web.Mvc.IModelBinder
The key for the specified item.

Implements

IDictionary<TKey, TValue>.Item[TKey]

See Also

Reference

ModelBinderDictionary Class

System.Web.Mvc Namespace