UnadviseTreeEvents Method
This documentation is archived and is not being maintained.

IVsLiteTree.UnadviseTreeEvents Method

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 (
	[InAttribute] uint dwCookie
)
int UnadviseTreeEvents (
	/** @attribute InAttribute() */ UInt32 dwCookie
)
function UnadviseTreeEvents (
	dwCookie : uint
) : int

Parameters

dwCookie

[In] The cookie returned by AdviseTreeEvents.

Return Value

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

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::UnadviseTreeEvents(
   [in] VSCOOKIE dwCookie
);
Show:
© 2016 Microsoft