ControlValueProvider(ModelBindingExecutionContext, String) 构造函数

定义

初始化 ControlValueProvider 类的新实例。

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)

参数

modelBindingExecutionContext
ModelBindingExecutionContext

该执行上下文。

propertyName
String

从其获取值的控件属性的名称。

适用于