StateBag.IDictionary.Contains Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

For a description of this member, see IDictionary.Contains.

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

bool IDictionary.Contains(
	object key


Type: System.Object

The key to locate in the IDictionary object.

Return Value

Type: System.Boolean

true if the IDictionary contains an element with the key; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the StateBag instance is cast to an IDictionary interface.

.NET Framework
Available since 1.1
Return to top