ControlValueProvider(ModelBindingExecutionContext, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.