Freigeben über


IVsStatusbar.IsCurrentUser(IVsStatusbarUser, Int32) Method

Definition

Determines whether the specified user is the current user of the status bar.

public:
 int IsCurrentUser(Microsoft::VisualStudio::Shell::Interop::IVsStatusbarUser ^ pUser, int % pfCurrent);
int IsCurrentUser(Microsoft::VisualStudio::Shell::Interop::IVsStatusbarUser const & pUser, int & pfCurrent);
public int IsCurrentUser (Microsoft.VisualStudio.Shell.Interop.IVsStatusbarUser pUser, ref int pfCurrent);
abstract member IsCurrentUser : Microsoft.VisualStudio.Shell.Interop.IVsStatusbarUser * int -> int
Public Function IsCurrentUser (pUser As IVsStatusbarUser, ByRef pfCurrent As Integer) As Integer

Parameters

pUser
IVsStatusbarUser

[in] Pointer to the IVsStatusbarUser interface.

pfCurrent
Int32

[out] true if the user is current.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsStatusbar::IsCurrentUser(  
   [in] IVsStatusbarUser *pUser,  
   [out] BOOL *pfCurrent  
);  

Applies to