Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TempDataDictionary.ICollection<KeyValuePair<String, Object>>.Contains Method

Determines whether a sequence contains a specified element by using the default equality comparer.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
bool ICollection<KeyValuePair<string, Object>>.Contains(
	KeyValuePair<string, Object> keyValuePair
)

Parameters

keyValuePair
Type: System.Collections.Generic.KeyValuePair<String, Object>

The key/value pair to search for.

Return Value

Type: System.Boolean
true if the dictionary contains the specified key/value pair; otherwise, false.

Implements

ICollection<T>.Contains(T)

This member is an explicit interface member implementation. It can be used only when the TempDataDictionary instance is cast to an ICollection<T> interface.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.