Compartilhar via


ValueProviderAttribute Constructor (Type)

Initializes a new instance of the ValueProviderAttribute.

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

Syntax

'Declaration
Public Sub New ( _
    valueProviderFactory As Type _
)
'Usage
Dim valueProviderFactory As Type

Dim instance As New ValueProviderAttribute(valueProviderFactory)
public ValueProviderAttribute(
    Type valueProviderFactory
)
public:
ValueProviderAttribute(
    Type^ valueProviderFactory
)
new : 
        valueProviderFactory:Type -> ValueProviderAttribute
public function ValueProviderAttribute(
    valueProviderFactory : Type
)

Parameters

  • valueProviderFactory
    Type: System.Type
    The type of the model binder.

See Also

Reference

ValueProviderAttribute Class

ValueProviderAttribute Overload

System.Web.Http.ValueProviders Namespace