ListItemCollection.Contains Method
.NET Framework 3.0
Determines whether the collection contains the specified item.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public boolean Contains ( ListItem item )
public function Contains ( item : ListItem ) : boolean
Not applicable.
Parameters
- item
A ListItem to search for in the collection.
Return Value
true if the collection contains the specified item; otherwise, false.Community Additions
ADD
Show: