Connectivity Software User's Guide and Reference
Equals(Object) Method



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > SparkplugData Class > Equals Method : Equals(Object) Method
The System.Object to compare with the current object.

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

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

Determines whether the specified System.Object is equal to the current object.
Syntax
'Declaration
 
<JetBrains.Annotations.MustUseReturnValueAttribute()>
Public Overloads Overrides Function Equals( _
   ByVal obj As Object _
) As Boolean
'Usage
 
Dim instance As SparkplugData
Dim obj As Object
Dim value As Boolean
 
value = instance.Equals(obj)
[JetBrains.Annotations.MustUseReturnValue()]
public override bool Equals( 
   object obj
)
[JetBrains.Annotations.MustUseReturnValue()]
public:
bool Equals( 
   Object^ obj
) override 

Parameters

obj
The System.Object to compare with the current object.

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

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

Return Value

true if the specified object is equal to the current object; otherwise, false.

This return value of this method should not be ignored.

Remarks

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

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

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

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