Share via


ModelBinderAttribute.GetModelBinderProvider Method

Gets the model binder provider.

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

Syntax

'Declaration
Public Function GetModelBinderProvider ( _
    configuration As HttpConfiguration _
) As ModelBinderProvider
'Usage
Dim instance As ModelBinderAttribute 
Dim configuration As HttpConfiguration 
Dim returnValue As ModelBinderProvider 

returnValue = instance.GetModelBinderProvider(configuration)
public ModelBinderProvider GetModelBinderProvider(
    HttpConfiguration configuration
)
public:
ModelBinderProvider^ GetModelBinderProvider(
    HttpConfiguration^ configuration
)
member GetModelBinderProvider : 
        configuration:HttpConfiguration -> ModelBinderProvider
public function GetModelBinderProvider(
    configuration : HttpConfiguration
) : ModelBinderProvider

Parameters

Return Value

Type: System.Web.Http.ModelBinding.ModelBinderProvider
The ModelBinderProvider instance.

See Also

Reference

ModelBinderAttribute Class

System.Web.Http.ModelBinding Namespace