ModelStateDictionary.Contains(KeyValuePair<String,ModelState>) メソッド

定義

特定の値がモデル状態ディクショナリに格納されているかどうかを判断します。

public bool Contains (System.Collections.Generic.KeyValuePair<string,System.Web.Mvc.ModelState> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, System.Web.Mvc.ModelState> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, System.Web.Mvc.ModelState> -> bool
Public Function Contains (item As KeyValuePair(Of String, ModelState)) As Boolean

パラメーター

item
KeyValuePair<String,ModelState>

モデル状態ディクショナリ内で検索するオブジェクト。

戻り値

モデル状態ディクショナリで が見つかった場合 item は true、それ以外の場合は false。

実装

適用対象