NameValueCollectionValueProvider.GetValue メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetValue(String) |
指定したキーを使用して値オブジェクトを返します。 |
GetValue(String, Boolean) |
指定したキーおよび検証ディレクティブを使用して、値オブジェクトを返します。 |
GetValue(String)
指定したキーを使用して値オブジェクトを返します。
public virtual System.Web.Mvc.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> System.Web.Mvc.ValueProviderResult
override this.GetValue : string -> System.Web.Mvc.ValueProviderResult
Public Overridable Function GetValue (key As String) As ValueProviderResult
パラメーター
- key
- String
取得する値オブジェクトのキー。
戻り値
指定したキーの値オブジェクト。
実装
例外
key
パラメーターが null です。
適用対象
GetValue(String, Boolean)
指定したキーおよび検証ディレクティブを使用して、値オブジェクトを返します。
public virtual System.Web.Mvc.ValueProviderResult GetValue (string key, bool skipValidation);
abstract member GetValue : string * bool -> System.Web.Mvc.ValueProviderResult
override this.GetValue : string * bool -> System.Web.Mvc.ValueProviderResult
Public Overridable Function GetValue (key As String, skipValidation As Boolean) As ValueProviderResult
パラメーター
- key
- String
キー。
- skipValidation
- Boolean
検証をスキップする必要がある場合は true。それ以外の場合は false。
戻り値
指定したキーの値オブジェクト。