Export (0) Print
Expand All

ModelStateDictionary.ContainsKey Method

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

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

public bool ContainsKey(
	string key
)

Parameters

key
Type: System.String
The key to locate in the model-state dictionary.

Return Value

Type: System.Boolean
true if the model-state dictionary contains the specified key; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)
Show:
© 2014 Microsoft