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: System.ObjectThe object to compare with this GlobalType.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.