Compartir a través de


IVsStatusbar.IsCurrentUser Method

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)

Syntax

'Declaration
Function IsCurrentUser ( _
    pUser As IVsStatusbarUser, _
    ByRef pfCurrent As Integer _
) As Integer
int IsCurrentUser(
    IVsStatusbarUser pUser,
    ref int pfCurrent
)
int IsCurrentUser(
    IVsStatusbarUser^ pUser, 
    int% pfCurrent
)
abstract IsCurrentUser : 
        pUser:IVsStatusbarUser * 
        pfCurrent:int byref -> int
function IsCurrentUser(
    pUser : IVsStatusbarUser, 
    pfCurrent : int
) : int

Parameters

  • pfCurrent
    Type: Int32%

    [out] true if the user is current.

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsStatusbar Interface

Microsoft.VisualStudio.Shell.Interop Namespace