Edit

Share via


ControlValueProvider(ModelBindingExecutionContext, String) Constructor

Definition

Initializes a new instance of the ControlValueProvider class.

public:
 ControlValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::String ^ propertyName);
public ControlValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, string propertyName);
new System.Web.ModelBinding.ControlValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext * string -> System.Web.ModelBinding.ControlValueProvider
Public Sub New (modelBindingExecutionContext As ModelBindingExecutionContext, propertyName As String)

Parameters

modelBindingExecutionContext
ModelBindingExecutionContext

The execution context.

propertyName
String

The name of the control property to get the value from.

Applies to