Export (0) Print
Expand All

ValueProviderDictionary.ContainsKey Method

.NET Framework 4

Determines whether the collection of value providers contains an element that has the specified key.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public bool ContainsKey(
	string key
)

Parameters

key
Type: System.String
The key of the element to find in the IDictionary<TKey, TValue> instance.

Return Value

Type: System.Boolean
true if the collection of value providers contains an element that has the key; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

ExceptionCondition
ArgumentNullException

key is null.

Community Additions

ADD
Show:
© 2015 Microsoft