Opc.Ua.Core
CompareDiagnosticInfo Method



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