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)

[GuidAttribute("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")]
[InterfaceTypeAttribute()]
public interface IVsHierarchyEvents

The IVsHierarchyEvents type exposes the following members.

  NameDescription
Public methodOnInvalidateIconNotifies clients when changes are made to icons.
Public methodOnInvalidateItemsNotifies clients when changes are made to the item inventory of a hierarchy.
Public methodOnItemAddedNotifies clients when an item is added to the hierarchy.
Public methodOnItemDeletedNotifies clients when an item is deleted from the hierarchy.
Public methodOnItemsAppendedNotifies clients when items are appended to the end of the hierarchy.
Public methodOnPropertyChangedNotifies clients when one or more properties of an item have changed.
Top

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

To see some code that uses this interface, see Walkthrough: Managing Universal Windows Projects.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft