Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsStatusbar::IsCurrentUser(
[in] IVsStatusbarUser *pUser,
[out] BOOL *pfCurrent
);
.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.