StringSetContains Method |
Name | Description | |
---|---|---|
Contains(String) | Determines whether the specified string is in the StringCollection. (Inherited from StringCollection.) | |
Contains(String, StringComparison) | Obsolete.
Determines if this set contains one or more strings matching (equaling) the specified value.
Attention: This method returns true if any string in the collection CONTAINS the specified value.
Use Contains(String, StringComparisonTypes, StringComparison) with Equals
to determine if this collection contains any strings that EQUAL the specified value.
| |
Contains(String, StringComparisonTypes, StringComparison) |
Determines if this set contains one or more strings matching (per the comparison type) the specified value.
Attention: This overload is recommended over the counter-intuitive Contains(String, StringComparison) overload. |