Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves the model binder for the specified type.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function GetBinder ( _
modelType As Type _
) As IModelBinder
public IModelBinder GetBinder(
Type modelType
)
public:
IModelBinder^ GetBinder(
Type^ modelType
)
Parameters
- modelType
Type: System.Type
The type of the model to retrieve.
Return Value
Type: System.Web.Mvc.IModelBinder
The model binder.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The modelType parameter is null reference (Nothing in Visual Basic). |