Determines whether the specified 
System.Object is equal to the current 
System.Object.
Syntax
            
            
            
            
            'Declaration
 
<JetBrains.Annotations.MustUseReturnValueAttribute()>
Public Overloads Overrides Function Equals( _
   ByVal  As Object _
) As Boolean
             
        
            
            'Usage
 
Dim instance As HostElement
Dim obj As Object
Dim value As Boolean
 
value = instance.Equals(obj)
             
        
            
            [JetBrains.Annotations.MustUseReturnValue()]
public override bool Equals( 
   object 
)
             
        
            
            [JetBrains.Annotations.MustUseReturnValue()]
public:
bool Equals( 
   Object^ 
) override 
             
        
             
        
            Parameters
- obj
- The System.Object to compare with the current System.Object.
The value of this parameter can be null(Nothingin Visual Basic).
 
Return Value
true if the specified 
System.Object is equal to the current 
System.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