IUnvalidatedValueProvider.GetValue(String, Boolean) 方法
定义
使用指定的密钥和选择指定验证应跳过返回值对象。Returns a value using the specified key and optionally a value that specifies that request validation should be skipped.
public:
System::Web::ModelBinding::ValueProviderResult ^ GetValue(System::String ^ key, bool skipValidation);
public System.Web.ModelBinding.ValueProviderResult GetValue (string key, bool skipValidation);
abstract member GetValue : string * bool -> System.Web.ModelBinding.ValueProviderResult
Public Function GetValue (key As String, skipValidation As Boolean) As ValueProviderResult
参数
- key
- String
键。The key.
- skipValidation
- Boolean
跳转请求验证,则为 true;否则为 false。true to skip request validation; otherwise, false.
返回
值对象。The value object.