Opc.Ua.Core
CompareDataValue Method



Opc.Ua.Test Namespace > DataComparer Class : CompareDataValue Method
First Value.
Second Value.
This method compares two DataValues.
Syntax
'Declaration
 
Public Function CompareDataValue( _
   ByVal value1 As DataValue, _
   ByVal value2 As DataValue _
) As Boolean
'Usage
 
Dim instance As DataComparer
Dim value1 As DataValue
Dim value2 As DataValue
Dim value As Boolean
 
value = instance.CompareDataValue(value1, value2)
public bool CompareDataValue( 
   DataValue value1,
   DataValue value2
)
public:
bool CompareDataValue( 
   DataValue^ value1,
   DataValue^ 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