Aracılığıyla paylaş


ControlAttribute.GetValueProvider(ModelBindingExecutionContext) Yöntem

Tanım

Değer sağlayıcısını alır.

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

Parametreler

modelBindingExecutionContext
ModelBindingExecutionContext

Yürütme bağlamı.

Döndürülenler

Değer sağlayıcısı.

Özel durumlar

modelBindingExecutionContext parametresi null'dir.

Açıklamalar

Bu yöntem, yürütme bağlamını ve özelliğinin ControlValueProvider değerini PropertyName kullanarak sınıfının yeni bir örneğini oluşturur ve döndürür.

Şunlara uygulanır