共用方式為


FormAttribute.GetValueProvider(ModelBindingExecutionContext) 方法

定義

取得值提供者。

public:
 override System::Web::ModelBinding::IValueProvider ^ GetValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext);
public override System.Web.ModelBinding.IValueProvider GetValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext);
override this.GetValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.IValueProvider
Public Overrides Function GetValueProvider (modelBindingExecutionContext As ModelBindingExecutionContext) As IValueProvider

參數

modelBindingExecutionContext
ModelBindingExecutionContext

執行內容。

傳回

IValueProvider

值提供者。

實作

備註

這個方法會建立並傳回類別的新實例 FormValueProvider

適用於