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

声明
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
用法
Dim instance As GlobalType
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 GlobalType and their ObjectType properties are equal.

.NET Framework Security

See Also

Reference

GlobalType Class

GlobalType Members

Microsoft.VisualStudio.Shell.Design Namespace

ObjectType