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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.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
pOtherObject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject[in] The object to compare.
pfAreEqual
Type: System.Boolean%[out] Location to return true if the values match.
Return Value
Type: System.Int32
Returns S_OK if the results of the comparison were returned.
.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.