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.
Get the IModelBinder for this type.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Function GetModelBinder ( _
configuration As HttpConfiguration, _
modelType As Type _
) As IModelBinder
'Usage
Dim instance As ModelBinderAttribute
Dim configuration As HttpConfiguration
Dim modelType As Type
Dim returnValue As IModelBinder
returnValue = instance.GetModelBinder(configuration, _
modelType)
public IModelBinder GetModelBinder(
HttpConfiguration configuration,
Type modelType
)
public:
IModelBinder^ GetModelBinder(
HttpConfiguration^ configuration,
Type^ modelType
)
member GetModelBinder :
configuration:HttpConfiguration *
modelType:Type -> IModelBinder
public function GetModelBinder(
configuration : HttpConfiguration,
modelType : Type
) : IModelBinder
Parameters
configuration
Type: System.Web.Http.HttpConfigurationThe configuration.
modelType
Type: System.Typemodel type that the binder is expected to bind.
Return Value
Type: System.Web.Http.ModelBinding.IModelBinder
a non-null model binder.