Compartilhar via


FlavoredProject.IVsUIHierarchy.UnadviseHierarchyEvents(UInt32) Method

Definition

Disables client notification of hierarchy events.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.UnadviseHierarchyEvents(System::UInt32 dwCookie) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::UnadviseHierarchyEvents;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.UnadviseHierarchyEvents(unsigned int dwCookie) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::UnadviseHierarchyEvents;
int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.UnadviseHierarchyEvents(unsigned int dwCookie);
int IVsUIHierarchy.UnadviseHierarchyEvents (uint dwCookie);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.UnadviseHierarchyEvents : uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.UnadviseHierarchyEvents : uint32 -> int
Function UnadviseHierarchyEvents (dwCookie As UInteger) As Integer Implements IVsUIHierarchy.UnadviseHierarchyEvents

Parameters

dwCookie
UInt32

The unique identifier that was handed back with AdviseHierarchyEvents(IVsHierarchyEvents).

Returns

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

Implements

Remarks

This method calls the UnadviseHierarchyEvents method, which calls the UnadviseHierarchyEvents method, which calls the UnadviseHierarchyEvents method on the inner project.

Applies to