Click or drag to resize
ComparisonEngineCompareString Method (String, String, ValueOperator, StringComparison)
Compares a string using the specified ValueOperator

Namespace: Lithnet.MetadirectoryServices
Assembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax
public static bool CompareString(
	string actualValue,
	string expectedValue,
	ValueOperator valueOperator,
	StringComparison comparisonType
)

Parameters

actualValue
Type: SystemString
The value obtained from the query
expectedValue
Type: SystemString
The expected value specified in the query logic
valueOperator
Type: Lithnet.MetadirectoryServicesValueOperator
The value operator to use in the comparison
comparisonType
Type: SystemStringComparison
The type of string comparison to perform

Return Value

Type: Boolean
A boolean value indicating if the actual and expected value matched when using the specified ValueOperator
See Also