Método IVsObjectManager.UnregisterLibMgr (UInt32)

 

Cancela o registro de um Gerenciador de biblioteca com o Gerenciador de objetos do ambiente.

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

Sintaxe

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

Parâmetros

  • dwCookie
    [in] Alça abstrata usada para cancelar o registro da biblioteca manager

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 vsshell.idl:

HRESULT IVsObjectManager::UnregisterLibMgr(
   [in] VSCOOKIE dwCookie
);

Cancelar o registro do Gerenciador de bibliotecas durante Close, passing a dwCookie parâmetro foi retornado para você durante a RegisterLibMgr chamar.Ele é de responsabilidade do seu pacote cancelar o registro de seu Gerenciador de bibliotecas.Não confie no ambiente para executar a limpeza.

Consulte também

Interface IVsObjectManager
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo