Share via


FlavoredProject.IVsHierarchy.UnadviseHierarchyEvents(UInt32) Method

Definition

Disables client notification of hierarchy events.

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

Parameters

cookie
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 on the inner project.

Applies to