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 ( _
    ParamArray valueProviderFactories As Type() _
)
'Usage
Dim valueProviderFactories As Type()

Dim instance As New ValueProviderAttribute(valueProviderFactories)
public ValueProviderAttribute(
    params Type[] valueProviderFactories
)
public:
ValueProviderAttribute(
    ... array<Type^>^ valueProviderFactories
)
new : 
        valueProviderFactories:Type[] -> ValueProviderAttribute
public function ValueProviderAttribute(
    ... valueProviderFactories : Type[]
)

Parameters

  • valueProviderFactories
    Type: System.Type[]

    An array of model binder types.

See Also

Reference

ValueProviderAttribute Class

ValueProviderAttribute Overload

System.Web.Http.ValueProviders Namespace