Determines whether the collection contains a specific item.
Declaration
public bool Contains(SubItem item)
Public Function Contains(item As SubItem) As Boolean
Parameters
Type |
Name |
Description |
SubItem |
item |
The SubItem to locate in the collection.
|
Returns
Type |
Description |
bool |
true if the item is found in the collection; otherwise, false.
|