Share via


GlobalObject.Equals Method

Checks if the specified object is equal to the current global object.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
public override bool Equals(
    Object o
)
public:
virtual bool Equals(
    Object^ o
) override
abstract Equals : 
        o:Object -> bool  
override Equals : 
        o:Object -> bool
public override function Equals(
    o : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the two objects are equal; otherwise, false.

Remarks

The Equals method returns true if both objects are of type GlobalObject and their Name properties are equal.

.NET Framework Security

See Also

Reference

GlobalObject Class

Microsoft.VisualStudio.Shell.Design Namespace

GetHashCode

Name