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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Navigation Namespace > BrowsePath Class > Equals Method : Equals(Object) Method
Object to be compared.

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

Determines whether the current browse path is the same as other object.
Syntax
'Declaration
 
<PureAttribute()>
Public Overloads Overrides NotOverridable Function Equals( _
   ByVal obj As Object _
) As Boolean
'Usage
 
Dim instance As BrowsePath
Dim obj As Object
Dim value As Boolean
 
value = instance.Equals(obj)
[Pure()]
public override bool Equals( 
   object obj
)
[Pure()]
public:
bool Equals( 
   Object^ obj
) override 

Parameters

obj
Object to be compared.

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

Return Value

True if the object is a browse path, and the browse paths are the same, otherwise false.
Remarks

This method is pure, i.e. it does not have observable side effects.

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