UserProfileAttribute.GetValueProvider(ModelBindingExecutionContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取值提供程序。
public:
virtual System::Web::ModelBinding::IValueProvider ^ GetValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext);
public System.Web.ModelBinding.IValueProvider GetValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext);
abstract member GetValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.IValueProvider
override this.GetValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.IValueProvider
Public Function GetValueProvider (modelBindingExecutionContext As ModelBindingExecutionContext) As IValueProvider
参数
- modelBindingExecutionContext
- ModelBindingExecutionContext
该执行上下文。
返回
UserProfileValueProvider 类的新实例。