Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)


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

NameDescription
System_CAPS_pubmethodValueProviderAttribute(Type)

Initializes a new instance of the ValueProviderAttribute.

System_CAPS_pubmethodValueProviderAttribute(Type[])

Initializes a new instance of the ValueProviderAttribute.

NameDescription
System_CAPS_pubpropertyBinderType

Gets or sets the type of model binder.(Inherited from ModelBinderAttribute.)

System_CAPS_pubpropertyName

Gets or sets the name to consider as the parameter name during model binding.(Inherited from ModelBinderAttribute.)

System_CAPS_pubpropertySuppressPrefixCheck

Gets or sets a value that specifies whether the prefix check should be suppressed.(Inherited from ModelBinderAttribute.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

System_CAPS_pubpropertyValueProviderFactoryTypes

Gets the types of object returned by the value provider factory.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetBinding(HttpParameterDescriptor)

Gets the binding for a parameter.(Inherited from ModelBinderAttribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetModelBinder(HttpConfiguration, Type)

Get the IModelBinder for this type. (Inherited from ModelBinderAttribute.)

System_CAPS_pubmethodGetModelBinderProvider(HttpConfiguration)

Gets the model binder provider.(Inherited from ModelBinderAttribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValueProviderFactories(HttpConfiguration)

Gets the value provider factories.(Overrides ModelBinderAttribute.GetValueProviderFactories(HttpConfiguration).)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show:
© 2015 Microsoft