IVsStatusbar::IsCurrentUser Method (IVsStatusbarUser^, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int IsCurrentUser(
	IVsStatusbarUser^ pUser,
	int% pfCurrent
)

Parameters

pUser
Type: Microsoft.VisualStudio.Shell.Interop::IVsStatusbarUser^

[in] Pointer to the IVsStatusbarUser interface.

pfCurrent
Type: System::Int32

[out] true if the user is current.

Return Value

Type: System::Int32

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

From vsshell.idl:

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