IVsCommandWindowsCollection.SetRunningCommandWindowCommand Method

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
)
function SetRunningCommandWindowCommand(
    uCookie : uint, 
    fCmdWin : int
) : int

Parameters

  • 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

See Also

Reference

IVsCommandWindowsCollection Interface

IVsCommandWindowsCollection Members

Microsoft.VisualStudio.Shell.Interop Namespace