IVsPersistHierarchyItem2 Interface

Provides persistence to hierarchy items.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
[InterfaceTypeAttribute()]
public interface IVsPersistHierarchyItem2 : IVsPersistHierarchyItem

The IVsPersistHierarchyItem2 type exposes the following members.

  NameDescription
Public methodIgnoreItemFileChangesFlag indicating that changes to a file can be ignored when item is saved or reloaded.
Public methodIsItemDirtyDetermines whether the hierarchy item changed.
Public methodIsItemReloadableDetermines whether a project item is reloadable before calling ReloadItem.
Public methodReloadItemCalled to reload project item.
Public methodSaveItemSaves the hierarchy item to disk.
Top

Notes to Implementers

Implemented by Hierarchies that want to persist their items.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft