Compartir a través de


FlavoredProject.AdviseHierarchyEvents(IVsHierarchyEvents) Method

Definition

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

Returns

A unique value, or cookie, that is needed to disable notification of hierarchy events.

Remarks

This method calls AdviseHierarchyEvents.

Applies to