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)

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

NameDescription
System_CAPS_pubmethodOnInvalidateIcon(IntPtr)

Notifies clients when changes are made to icons.

System_CAPS_pubmethodOnInvalidateItems(UInt32)

Notifies clients when changes are made to the item inventory of a hierarchy.

System_CAPS_pubmethodOnItemAdded(UInt32, UInt32, UInt32)

Notifies clients when an item is added to the hierarchy.

System_CAPS_pubmethodOnItemDeleted(UInt32)

Notifies clients when an item is deleted from the hierarchy.

System_CAPS_pubmethodOnItemsAppended(UInt32)

Notifies clients when items are appended to the end of the hierarchy.

System_CAPS_pubmethodOnPropertyChanged(UInt32, Int32, UInt32)

Notifies 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 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.

Return to top
Show: