Partager via


ModelBindingContext.ValueProvider Property

Gets or sets the value provider.

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

Syntax

'Declaration
Public Property ValueProvider As IValueProvider
    Get
    Set
'Usage
Dim instance As ModelBindingContext
Dim value As IValueProvider

value = instance.ValueProvider

instance.ValueProvider = value
public IValueProvider ValueProvider { get; set; }
public:
property IValueProvider^ ValueProvider {
    IValueProvider^ get ();
    void set (IValueProvider^ value);
}
member ValueProvider : IValueProvider with get, set
function get ValueProvider () : IValueProvider
function set ValueProvider (value : IValueProvider)

Property Value

Type: System.Web.Http.ValueProviders.IValueProvider
The value provider.

See Also

Reference

ModelBindingContext Class

System.Web.Http.ModelBinding Namespace