Determines whether the specified
System.Object is equal to the current object.
Syntax
'Declaration
Public Overloads Overrides NotOverridable Function Equals( _
ByVal As Object _
) As Boolean
'Usage
Dim instance As DataField
Dim obj As Object
Dim value As Boolean
value = instance.Equals(obj)
public override bool Equals(
object
)
public:
bool Equals(
Object^
) override
Parameters
- obj
- The System.Object to compare with the current object.
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
.
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