ModelStateDictionary.Contains(KeyValuePair<String,ModelState>) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
モデル状態ディクショナリに特定の項目が含まれているかどうかを判断します。
public:
virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Web::ModelBinding::ModelState ^> item);
public bool Contains(System.Collections.Generic.KeyValuePair<string,System.Web.ModelBinding.ModelState> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState> -> bool
Public Function Contains (item As KeyValuePair(Of String, ModelState)) As Boolean
パラメーター
- item
- KeyValuePair<String,ModelState>
モデル状態ディクショナリ内で検索する項目。
返品
true
itemがディクショナリで見つかった場合は、それ以外の場合はfalse。