Udostępnij za pośrednictwem


Interfejs IVsHierarchyItemManager

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

Ten interfejs API nie jest zgodny ze specyfikacją CLS. 

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.Immutable.11.0 (w Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Składnia

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

Typ IVsHierarchyItemManager uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna IsChangingItems Gets whether item additions or removals from an IVsHierarchy are currently being processed.

Początek

Metody

  Nazwa Opis
Metoda publiczna GetHierarchyItem Gets or creates an IVsHierarchyItem corresponding to the specified hierarchy and item identifier.
Metoda publiczna TryGetHierarchyItem Gets a cached IVsHierarchyItem representing the specified hierarchy and item identifier, if one has already been created.
Metoda publiczna TryGetHierarchyItemIdentity Gets a cached IVsHierarchyItemIdentity representing the specified hierarchy and item identifier, if one has already been created.

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie publiczne AfterInvalidateItems Event raised after an OnInvalidateItems notification occurs for an item.
Zdarzenie publiczne OnItemAdded Event raised after an OnItemAdded notification occurs for an item.

Początek

Metody rozszerzające

  Nazwa Opis
Publiczna metoda rozszerzenia FindHierarchyItem (Zdefiniowane przez HierarchyUtilities).

Początek

Uwagi

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.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.Shell