Opc.Ua.Core
CompareVariant Method



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