PropertyValueBase.Equals Method (IVsUIObject, Boolean%)
General purpose equality test for IVsUIObjects
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Function Equals ( _
pOtherObject As IVsUIObject, _
<OutAttribute> ByRef pfAreEqual As Boolean _
) As Integer
'Utilisation
Dim instance As PropertyValueBase
Dim pOtherObject As IVsUIObject
Dim pfAreEqual As Boolean
Dim returnValue As Integer
returnValue = instance.Equals(pOtherObject, _
pfAreEqual)
public int Equals(
IVsUIObject pOtherObject,
out bool pfAreEqual
)
public:
virtual int Equals(
IVsUIObject^ pOtherObject,
[OutAttribute] bool% pfAreEqual
) sealed
abstract Equals :
pOtherObject:IVsUIObject *
pfAreEqual:bool byref -> int
override Equals :
pOtherObject:IVsUIObject *
pfAreEqual:bool byref -> int
public final function Equals(
pOtherObject : IVsUIObject,
pfAreEqual : boolean
) : int
Parameters
- pOtherObject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
The rhs of the comparison
- pfAreEqual
Type: System.Boolean%
true iff equal
Return Value
Type: System.Int32
Implements
IVsUIObject.Equals(IVsUIObject, Boolean%)
.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.