IVsHierarchyEvents Interface

Definition

Notifies clients of changes to the hierarchy.

public interface class IVsHierarchyEvents
public interface class IVsHierarchyEvents
__interface IVsHierarchyEvents
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsHierarchyEvents
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsHierarchyEvents
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsHierarchyEvents = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("6DDD8DC3-32B2-4BF1-A1E1-B6DA40526D1E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsHierarchyEvents = interface
Public Interface IVsHierarchyEvents
Attributes

Remarks

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.

Methods

OnInvalidateIcon(IntPtr)

Notifies clients when changes are made to icons.

OnInvalidateItems(UInt32)

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

OnItemAdded(UInt32, UInt32, UInt32)

Notifies clients when an item is added to the hierarchy.

OnItemDeleted(UInt32)

Notifies clients when an item is deleted from the hierarchy.

OnItemsAppended(UInt32)

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

OnPropertyChanged(UInt32, Int32, UInt32)

Notifies clients when one or more properties of an item have changed.

Applies to