Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IVsStatusbar
Dim pUser As IVsStatusbarUser
Dim pfCurrent As Integer
Dim returnValue As Integer
returnValue = instance.IsCurrentUser(pUser, _
pfCurrent)
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.