StateManagedCollection.IList.Contains Method (Object)
.NET Framework (current version)
Determines whether the StateManagedCollection collection contains a specific value.
Assembly: System.Web (in System.Web.dll)
Parameters
- value
-
Type:
System.Object
The object to locate in the StateManagedCollection.
Return Value
Type: System.Booleantrue 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
Available since 2.0
Available since 2.0
Show: