StringSetContains Method (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.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public bool Contains(
string value,
StringComparisonTypes compare,
StringComparison comparisonType
)
Public Function Contains (
value As String,
compare As StringComparisonTypes,
comparisonType As StringComparison
) As Boolean
Parameters
- value
- Type: SystemString
The value for which to search. - compare
- Type: NetQuarryStringComparisonTypes
The type of string comparison to use (e.g. equals or contains). - comparisonType
- Type: SystemStringComparison
The string comparison to use (specifically case-sensitivity and culture).
Return Value
Type:
BooleanTrue if value is found, else false.
See Also