Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StateManagedCollection.IList.Contains Method

Determines whether the StateManagedCollection collection contains a specific value.

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

bool IList.Contains(
	Object value
)

Parameters

value
Type: System.Object

The object to locate in the StateManagedCollection.

Return Value

Type: System.Boolean
true if the object is found in the StateManagedCollection; otherwise, false. If null is passed for the value parameter, false is returned.

Implements

IList.Contains(Object)

The OnValidate method is called to validate value before the collection is checked.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft