Udostępnij za pośrednictwem


ProfileAttribute.GetValueProvider(ModelBindingExecutionContext) Metoda

Definicja

Pobiera dostawcę wartości.

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

Parametry

modelBindingExecutionContext
ModelBindingExecutionContext

kontekst wykonywania.

Zwraca

Nowe wystąpienie ProfileValueProvider klasy.

Wyjątki

Parametr modelBindingExecutionContext to null.

Dotyczy