Compartir a través de


FlavoredProject.AdviseHierarchyEvents Method

Subscribes to hierarchy events.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Function AdviseHierarchyEvents ( _
    eventSink As IVsHierarchyEvents _
) As UInteger
protected virtual uint AdviseHierarchyEvents(
    IVsHierarchyEvents eventSink
)
protected:
virtual unsigned int AdviseHierarchyEvents(
    IVsHierarchyEvents^ eventSink
)
abstract AdviseHierarchyEvents : 
        eventSink:IVsHierarchyEvents -> uint32  
override AdviseHierarchyEvents : 
        eventSink:IVsHierarchyEvents -> uint32
protected function AdviseHierarchyEvents(
    eventSink : IVsHierarchyEvents
) : uint

Parameters

Return Value

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

Remarks

This method calls AdviseHierarchyEvents.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace