Partilhar via


IVsUIObject.Equals(IVsUIObject, Boolean) Method

Definition

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

public:
 int Equals(Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pOtherObject, [Runtime::InteropServices::Out] bool % pfAreEqual);
int Equals(Microsoft::VisualStudio::Shell::Interop::IVsUIObject const & pOtherObject, [Runtime::InteropServices::Out] bool & pfAreEqual);
public int Equals (Microsoft.VisualStudio.Shell.Interop.IVsUIObject pOtherObject, out bool pfAreEqual);
abstract member Equals : Microsoft.VisualStudio.Shell.Interop.IVsUIObject * bool -> int
Public Function Equals (pOtherObject As IVsUIObject, ByRef pfAreEqual As Boolean) As Integer

Parameters

pOtherObject
IVsUIObject

[in] The object to compare.

pfAreEqual
Boolean

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

Returns

Returns S_OK if the results of the comparison were returned.

Applies to