IVsHierarchyItemManager Interface

 

Accesses the data model used by an IVsUIHierarchyWindow (like the Solution Explorer).

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

[CLSCompliantAttribute(false)]
public interface IVsHierarchyItemManager

NameDescription
System_CAPS_pubpropertyIsChangingItems

Gets whether item additions or removals from an IVsHierarchy are currently being processed.

NameDescription
System_CAPS_pubmethodGetHierarchyItem(IVsHierarchy, UInt32)

Gets or creates an IVsHierarchyItem corresponding to the specified hierarchy and item identifier.

System_CAPS_pubmethodTryGetHierarchyItem(IVsHierarchy, UInt32, IVsHierarchyItem)

Gets a cached IVsHierarchyItem representing the specified hierarchy and item identifier, if one has already been created.

System_CAPS_pubmethodTryGetHierarchyItemIdentity(IVsHierarchy, UInt32, IVsHierarchyItemIdentity)

Gets a cached IVsHierarchyItemIdentity representing the specified hierarchy and item identifier, if one has already been created.

NameDescription
System_CAPS_pubeventAfterInvalidateItems

Event raised after an OnInvalidateItems notification occurs for an item.

System_CAPS_pubeventOnItemAdded

Event raised after an OnItemAdded notification occurs for an item.

This interface is a Managed Extensibility Framework (MEF) service that can be imported by a MEF component. Given an IVsHierarchy and an itemid (just a UINT representing a “key” to one of the items in the hierarchy), the IVsHierarchyItemManager can return an IVsHierarchyItem or IVsHierarchyItemIdentity representing that item.

Return to top
Show: