Click or drag to resize
ComparisonEngineCompareDateTime Method
Compares a DateTime value using the specified ValueOperator

Namespace: Lithnet.MetadirectoryServices
Assembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax
public static bool CompareDateTime(
	DateTime actualValue,
	DateTime expectedValue,
	ValueOperator valueOperator
)

Parameters

actualValue
Type: SystemDateTime
The value obtained from the query
expectedValue
Type: SystemDateTime
The expected value specified in the query logic
valueOperator
Type: Lithnet.MetadirectoryServicesValueOperator
The value operator to use in the comparison

Return Value

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