Click or drag to resize

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
)

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: Boolean
True if value is found, else false.
See Also