Interfaccia IVsHierarchyItemManager

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

Questa API non è conforme a CLS. 

Spazio dei nomi:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Sintassi

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

Il tipo IVsHierarchyItemManager espone i seguenti membri.

Proprietà

  Nome Descrizione
Proprietà pubblica IsChangingItems Gets whether item additions or removals from an IVsHierarchy are currently being processed.

In alto

Metodi

  Nome Descrizione
Metodo pubblico GetHierarchyItem Gets or creates an IVsHierarchyItem corresponding to the specified hierarchy and item identifier.
Metodo pubblico TryGetHierarchyItem Gets a cached IVsHierarchyItem representing the specified hierarchy and item identifier, if one has already been created.
Metodo pubblico TryGetHierarchyItemIdentity Gets a cached IVsHierarchyItemIdentity representing the specified hierarchy and item identifier, if one has already been created.

In alto

Eventi

  Nome Descrizione
Evento pubblico AfterInvalidateItems Event raised after an OnInvalidateItems notification occurs for an item.
Evento pubblico OnItemAdded Event raised after an OnItemAdded notification occurs for an item.

In alto

Metodi di estensione

  Nome Descrizione
Metodo di estensione pubblico FindHierarchyItem (Definito da HierarchyUtilities).

In alto

Note

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.

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.VisualStudio.Shell