IVsHierarchyItemManager, interface

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

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.VisualStudio.Shell
Assembly :  Microsoft.VisualStudio.Shell.Immutable.11.0 (dans Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Interface IVsHierarchyItemManager
[CLSCompliantAttribute(false)]
public interface IVsHierarchyItemManager

Le type IVsHierarchyItemManager expose les membres suivants.

Propriétés

  Nom Description
Propriété publique IsChangingItems Gets whether item additions or removals from an IVsHierarchy are currently being processed.

Début

Méthodes

  Nom Description
Méthode publique GetHierarchyItem Gets or creates an IVsHierarchyItem corresponding to the specified hierarchy and item identifier.
Méthode publique TryGetHierarchyItem Gets a cached IVsHierarchyItem representing the specified hierarchy and item identifier, if one has already been created.
Méthode publique TryGetHierarchyItemIdentity Gets a cached IVsHierarchyItemIdentity representing the specified hierarchy and item identifier, if one has already been created.

Début

Événements

  Nom Description
Événement public AfterInvalidateItems Event raised after an OnInvalidateItems notification occurs for an item.
Événement public OnItemAdded Event raised after an OnItemAdded notification occurs for an item.

Début

Méthodes d'extension

  Nom Description
Méthode d'extension publique FindHierarchyItem (Défini par HierarchyUtilities.)

Début

Remarques

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.

Voir aussi

Référence

Microsoft.VisualStudio.Shell, espace de noms