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

‘선언
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
‘사용 방법
Dim instance As GlobalObject
Dim o As Object
Dim returnValue As Boolean

returnValue = instance.Equals(o)
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

GlobalObject Members

Microsoft.VisualStudio.Shell.Design Namespace

GetHashCode

Name