NUnitAsp

ListItemCollectionTester.Contains Method 

Determines whether the collection contains the specified item.

public bool Contains(
   ListItemTester item
);

Parameters

item
A System.Web.UI.WebControls.ListItem to search for in the collection.

Return Value

true if the collection contains the specified item; otherwise, false.

See Also

ListItemCollectionTester Class | NUnit.Extensions.Asp.HtmlTester Namespace