Share via


IVsUIObject.Equals Method

Compares this object with another to determine if they are the same value.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Function Equals ( _
    pOtherObject As IVsUIObject, _
    <OutAttribute> ByRef pfAreEqual As Boolean _
) As Integer
int Equals(
    IVsUIObject pOtherObject,
    out bool pfAreEqual
)
int Equals(
    [InAttribute] IVsUIObject^ pOtherObject, 
    [OutAttribute] bool% pfAreEqual
)
abstract Equals : 
        pOtherObject:IVsUIObject * 
        pfAreEqual:bool byref -> int
function Equals(
    pOtherObject : IVsUIObject, 
    pfAreEqual : boolean
) : int

Parameters

  • pfAreEqual
    Type: Boolean%

    [out] Location to return true if the values match.

Return Value

Type: Int32
Returns S_OK if the results of the comparison were returned.

.NET Framework Security

See Also

Reference

IVsUIObject Interface

Microsoft.VisualStudio.Shell.Interop Namespace