Partager via


PropertyValueBase.Equals Method (Object)

Override the Equals operator to compare the values instead of object reference if the parameter is also an IVsUIObject

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Utilisation
Dim instance As PropertyValueBase
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool 
override Equals : 
        obj:Object -> bool 
public override function Equals(
    obj : Object
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

PropertyValueBase Class

PropertyValueBase Members

Equals Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace