This topic has not yet been rated - Rate this topic

IVsHierarchy.UnadviseHierarchyEvents Method

Disables client notification of hierarchy events without requiring that the hierarchy implement IConnectionPointContainer.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int UnadviseHierarchyEvents (
	[InAttribute] uint dwCookie
)
int UnadviseHierarchyEvents (
	/** @attribute InAttribute() */ UInt32 dwCookie
)
function UnadviseHierarchyEvents (
	dwCookie : uint
) : int

Parameters

dwCookie

[in] Abstract handle to the client that was disabled from receiving notifications of hierarchy events.

Return Value

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

This is the same dwCookie that passed in with the call to AdviseHierarchyEvents.

COM Signature

From vsshell.idl:

HRESULT IVsHierarchy::UnadviseHierarchyEvents(
   [in] VSCOOKIE dwCookie
);
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.