IVsLiteTree.UnadviseTreeEvents(UInt32) Method

Definition

Unregisters an IVsLiteTreeEvents interface and thus removes an events listener from the list.

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

Parameters

dwCookie
UInt32

[In] The cookie returned by AdviseTreeEvents(IVsLiteTreeEvents, UInt32).

Returns

If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.

Remarks

COM Signature

[C++]

From vsshell.idl:

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

Applies to