IVsLiteTree::UnadviseTreeEvents Method (UInt32)

 

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

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

int UnadviseTreeEvents(
	unsigned int dwCookie
)

Parameters

dwCookie
Type: System::UInt32

[In] The cookie returned by AdviseTreeEvents.

Return Value

Type: System::Int32

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

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::UnadviseTreeEvents(
   [in] VSCOOKIE dwCookie
);
Return to top
Show: