共用方式為


FlavoredProject.AdviseHierarchyEvents Method

Subscribes to hierarchy events.

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

Syntax

'宣告
Protected Overridable Function AdviseHierarchyEvents ( _
    eventSink As IVsHierarchyEvents _
) As UInteger
protected virtual uint AdviseHierarchyEvents(
    IVsHierarchyEvents eventSink
)

Parameters

Return Value

Type: System.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