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)

public interface IVsHierarchyEvents

The IVsHierarchyEvents type exposes the following members.

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.

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
© 2014 Microsoft