次の方法で共有


IVsHierarchyEvents Interface

Notifies clients of changes to the hierarchy.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
<GuidAttribute("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsHierarchyEvents
'使用
Dim instance As IVsHierarchyEvents
[GuidAttribute("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")]
[InterfaceTypeAttribute()]
public interface IVsHierarchyEvents
[GuidAttribute(L"6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")]
[InterfaceTypeAttribute()]
public interface class IVsHierarchyEvents
[<GuidAttribute("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")>]
[<InterfaceTypeAttribute()>]
type IVsHierarchyEvents =  interface end
public interface IVsHierarchyEvents

Remarks

The hierarchy notifies everyone who has been advised through the call to AdviseHierarchyEvents.

See illustrations of the implementation and/or calling of this interface in the sample HierUtil7.

Notes to Implementers

Implemented by clients that are interested in receiving notification of hierarchy changes from a particular hierarchy.

Notes to Callers

Called by VSPackages to respond to changes in a given hierarchy.

See Also

Reference

IVsHierarchyEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace