ComparisonEngineCompareBoolean Method (Boolean, String, ValueOperator) |
Compares a boolean value using the specified ValueOperator
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static bool CompareBoolean(
bool actualValue,
string expectedValue,
ValueOperator valueOperator
)
Public Shared Function CompareBoolean (
actualValue As Boolean,
expectedValue As String,
valueOperator As ValueOperator
) As Boolean
public:
static bool CompareBoolean(
bool actualValue,
String^ expectedValue,
ValueOperator valueOperator
)
Parameters
- actualValue
- Type: SystemBoolean
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
Return Value
Type:
BooleanA boolean value indicating if the actual and expected value matched when using the specified ValueOperator
See Also