ValueProviderAttribute Class

This attribute is used to specify a custom ValueProviderFactory.

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

[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Parameter, Inherited = true, 
    AllowMultiple = false)>]
type ValueProviderAttribute =  
        inherit ModelBinderAttribute

The ValueProviderAttribute type exposes the following members.

Public methodValueProviderAttribute(Type)Initializes a new instance of the ValueProviderAttribute.
Public methodValueProviderAttribute(Type[])Initializes a new instance of the ValueProviderAttribute.

Public propertyBinderTypeGets or sets the type of model binder. (Inherited from ModelBinderAttribute.)
Public propertyNameGets or sets the name to consider as the parameter name during model binding. (Inherited from ModelBinderAttribute.)
Public propertySuppressPrefixCheckGets or sets a value that specifies whether the prefix check should be suppressed. (Inherited from ModelBinderAttribute.)
Public propertyTypeId (Inherited from Attribute.)
Public propertyValueProviderFactoryTypesGets the types of object returned by the value provider factory.

Public methodEquals (Inherited from Attribute.)
Public methodGetBindingGets the binding for a parameter. (Inherited from ModelBinderAttribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetModelBinder Get the IModelBinder for this type. (Inherited from ModelBinderAttribute.)
Public methodGetModelBinderProviderGets the model binder provider. (Inherited from ModelBinderAttribute.)
Public methodGetType (Inherited from Object.)
Public methodGetValueProviderFactoriesGets the value provider factories. (Overrides ModelBinderAttribute.GetValueProviderFactories(HttpConfiguration).)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate method_Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.Invoke (Inherited from Attribute.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.