Opc.Ua.Core
CompareDateTime Method



Opc.Ua.Test Namespace > DataComparer Class : CompareDateTime Method
First Value.
Second Value.
This method compares two DateTime values.
Syntax
'Declaration
 
Public Function CompareDateTime( _
   ByVal value1 As Date, _
   ByVal value2 As Date _
) As Boolean
'Usage
 
Dim instance As DataComparer
Dim value1 As Date
Dim value2 As Date
Dim value As Boolean
 
value = instance.CompareDateTime(value1, value2)
public bool CompareDateTime( 
   DateTime value1,
   DateTime value2
)
public:
bool CompareDateTime( 
   DateTime value1,
   DateTime value2
) 

Parameters

value1
First Value.
value2
Second Value.

Return Value

True in case of equal values. False or ServiceResultException in case of unequal values.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataComparer Class
DataComparer Members