Compartilhar via


Método IVsCommandWindowsCollection.SetRunningCommandWindowCommand (UInt32, Int32)

 

Publicado: abril de 2016

Indica se uma janela de comando está em execução (ou não está em execução) um comando.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (em Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Sintaxe

int SetRunningCommandWindowCommand(
    uint uCookie,
    int fCmdWin
)
int SetRunningCommandWindowCommand(
    unsigned int uCookie,
    int fCmdWin
)
abstract SetRunningCommandWindowCommand : 
        uCookie:uint32 *
        fCmdWin:int -> int
Function SetRunningCommandWindowCommand (
    uCookie As UInteger,
    fCmdWin As Integer
) As Integer

Parâmetros

  • uCookie
    [in] Um cookie, retornado por Create, especificando a janela.
  • fCmdWin
    [in] Um valor booleano —true indica a janela de comando está sendo executado em um comando; falseindica que nenhum comando está sendo executado.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell80.idl:

HRESULT SetRunningCommandWindowCommand(
    [in] UINT uCookie
    [in]    BOOL fCmdWin
);

Consulte também

Interface IVsCommandWindowsCollection
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo