Delen via


GlobalType.Equals Method

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

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

  • o
    Type: Object

    The object to compare with this GlobalType.

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

GlobalType Class

Microsoft.VisualStudio.Shell.Design Namespace

ObjectType