ControlValueProvider Constructor (ModelBindingExecutionContext, String)

.NET Framework (current version)
 

Initializes a new instance of the ControlValueProvider class.

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

public ControlValueProvider(
	ModelBindingExecutionContext modelBindingExecutionContext,
	string propertyName
)

Parameters

modelBindingExecutionContext
Type: System.Web.ModelBinding.ModelBindingExecutionContext

The execution context.

propertyName
Type: System.String

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

.NET Framework
Available since 4.5
Return to top
Show: