ModelStateDictionary.Contains(KeyValuePair<String,ModelState>) ModelStateDictionary.Contains(KeyValuePair<String,ModelState>) ModelStateDictionary.Contains(KeyValuePair<String,ModelState>) Method

Definition

Determines whether the model-state dictionary contains the specified item.

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

The item to look for.

Returns

true if the model-state dictionary contains the specified item; otherwise, false.

Applies to