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



OpcLabs.BaseLibComponents Assembly > OpcLabs.BaseLib.Connectivity Namespace > CompositeConnectivity Class > ValueEquals Method : ValueEquals(Object) 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
 
Public Overloads Shadows Function ValueEquals( _
   ByVal other As Object _
) As Boolean
'Usage
 
Dim instance As CompositeConnectivity
Dim other As Object
Dim value As Boolean
 
value = instance.ValueEquals(other)
public new bool ValueEquals( 
   object other
)
public:
new 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 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