IVsLiteTree.UnadviseTreeEvents(UInt32) Método

Definição

Cancela o registro de uma IVsLiteTreeEvents interface e, portanto, remove um ouvinte de eventos da lista.

public:
 int UnadviseTreeEvents(System::UInt32 dwCookie);
public:
 int UnadviseTreeEvents(unsigned int dwCookie);
int UnadviseTreeEvents(unsigned int dwCookie);
public int UnadviseTreeEvents (uint dwCookie);
abstract member UnadviseTreeEvents : uint32 -> int
Public Function UnadviseTreeEvents (dwCookie As UInteger) As Integer

Parâmetros

dwCookie
UInt32

No O cookie retornado por AdviseTreeEvents(IVsLiteTreeEvents, UInt32) .

Retornos

Int32

Se o método tiver sucesso, ele retornará VSConstants.S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

[C++]

De VSShell. idl:

HRESULT IVsLiteTree::UnadviseTreeEvents(  
   [in] VSCOOKIE dwCookie  
);  

Aplica-se a