FlavoredProject.AdviseHierarchyEvents(IVsHierarchyEvents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Subscribes to hierarchy events.
protected:
virtual System::UInt32 AdviseHierarchyEvents(Microsoft::VisualStudio::Shell::Interop::IVsHierarchyEvents ^ eventSink);
protected:
virtual unsigned int AdviseHierarchyEvents(Microsoft::VisualStudio::Shell::Interop::IVsHierarchyEvents ^ eventSink);
virtual unsigned int AdviseHierarchyEvents(Microsoft::VisualStudio::Shell::Interop::IVsHierarchyEvents const & eventSink);
protected virtual uint AdviseHierarchyEvents (Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents eventSink);
abstract member AdviseHierarchyEvents : Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents -> uint32
override this.AdviseHierarchyEvents : Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents -> uint32
Protected Overridable Function AdviseHierarchyEvents (eventSink As IVsHierarchyEvents) As UInteger
Parameters
- eventSink
- IVsHierarchyEvents
Returns
A unique value, or cookie, that is needed to disable notification of hierarchy events.
Remarks
This method calls AdviseHierarchyEvents.