ModelStateDictionary.Contains(KeyValuePair<String,ModelState>) 메서드

정의

모델 상태 사전에 특정 항목이 들어 있는지 여부를 확인합니다.

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>

모델 상태 사전에서 찾을 항목입니다.

반환

Boolean

item이 사전에 있으면 true이고, 그렇지 않으면 false입니다.

구현

적용 대상