Método IVsRegisterProjectTypes.UnregisterProjectType (UInt32)

 

Cancela o registro de um tipo de projeto.

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

Sintaxe

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

Parâmetros

  • dwCookie
    [in] Identificador de abstrata retornado do ambiente, quando o tipo de projeto foi registrado pela chamada para o RegisterProjectType 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 vsshell.idl:

HRESULT IVsRegisterProjectTypes::UnregisterProjectType(
   [in] VSCOOKIE dwCookie
);

O UnreigsterProjectType método é chamado em Close método.Isso indica que a fábrica de projeto passadas para o ambiente durante a RegisterProjectType não está mais disponível.

Consulte também

Interface IVsRegisterProjectTypes
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo