共用方式為


SessionAttribute.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

執行內容。

傳回

包含工作階段狀態值之 DictionaryValueProvider<TValue> 的新執行個體。

適用於