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
public override bool Equals(
Object o
)
Parameters
- o
Type: System.Object
The object to compare with this GlobalObject.
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
- 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.