Método IVsRegisterPriorityCommandTarget.UnregisterPriorityCommandTarget (UInt32)

 

Cancela o registro do seu destino identificado por um cookie.

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

Sintaxe

int UnregisterPriorityCommandTarget(
    uint dwCookie
)
int UnregisterPriorityCommandTarget(
    unsigned int dwCookie
)
abstract UnregisterPriorityCommandTarget : 
        dwCookie:uint32 -> int
Function UnregisterPriorityCommandTarget (
    dwCookie As UInteger
) As Integer

Parâmetros

  • dwCookie
    [in] Cookie (VSCOOKIE), identificando o destino de comando para cancelar o registro.Retornado pela RegisterPriorityCommandTarget método.

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:

[C++]

HRESULT IVsRegisterPriorityCommandTarget::UnregisterPriorityCommandTarget(
   [in] VSCOOKIE dwCookie
);

Consulte também

Interface IVsRegisterPriorityCommandTarget
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo