Determines whether an element is in the collection.
The item to find in the collection.
true if the item was found in the collection; otherwise, false.
You can also call IndexOf to get the index of a specific item in the collection. If the element you specify doesn't exist, IndexOf returns -1, so that's another way to determine that the collection doesn't contain a given element.
Minimum supported client
Minimum supported server
|Windows Server 2012 R2|
Build date: 11/16/2013