OPC Studio User's Guide and Reference
ValueEquals Method (_EasyUAPublishSubscribeClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.InformationModel.ComTypes Namespace > _EasyUAPublishSubscribeClient Interface : ValueEquals Method
The other instance.

The value of this parameter can be null (Nothing in Visual Basic).

Defines a generalized method that classes must implement to create type-specific method for determining value equality of instances. Determines whether this instance has the same value as a given other instance.
Syntax
'Declaration
 
Function ValueEquals( _
   ByVal other As Object _
) As Boolean
'Usage
 
Dim instance As _EasyUAPublishSubscribeClient
Dim other As Object
Dim value As Boolean
 
value = instance.ValueEquals(other)
bool ValueEquals( 
   object other
)
bool ValueEquals( 
   Object^ other
) 

Parameters

other
The other instance.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

A System.Boolean indicating the result.
Remarks
We intentionally allow null to be passed in, in order to match the behavior of System.Object.Equals(System.Object).

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also