共用方式為


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

要從中取得值的控制項屬性的名稱。

適用於