IUnvalidatedValueProvider.GetValue(String, Boolean) 方法

定義

回傳使用指定鍵值的值,並可選擇性地返回一個要求驗證應跳過的值。

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

索引鍵。

skipValidation
Boolean

true跳過請求驗證;否則,。 false

傳回

價值物件。

適用於