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.
Indicates whether a command window is running (or not running) a command.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function SetRunningCommandWindowCommand ( _
uCookie As UInteger, _
fCmdWin As Integer _
) As Integer
'Usage
Dim instance As IVsCommandWindowsCollection
Dim uCookie As UInteger
Dim fCmdWin As Integer
Dim returnValue As Integer
returnValue = instance.SetRunningCommandWindowCommand(uCookie, _
fCmdWin)
int SetRunningCommandWindowCommand(
uint uCookie,
int fCmdWin
)
int SetRunningCommandWindowCommand(
[InAttribute] unsigned int uCookie,
[InAttribute] int fCmdWin
)
abstract SetRunningCommandWindowCommand :
uCookie:uint32 *
fCmdWin:int -> int
function SetRunningCommandWindowCommand(
uCookie : uint,
fCmdWin : int
) : int
Parameters
- uCookie
Type: System.UInt32
[in] A cookie, returned by Create, specifying the window.
- fCmdWin
Type: System.Int32
[in] A Boolean value—true indicates the command window is running a command; false indicates no command is currently running.
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 vsshell80.idl:
HRESULT SetRunningCommandWindowCommand(
[in] UINT uCookie
[in] BOOL fCmdWin
);
.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.
See Also
Reference
IVsCommandWindowsCollection Interface