IVsPersistHierarchyItem2 Interface

Provides persistence to hierarchy items.

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

public interface IVsPersistHierarchyItem2 : IVsPersistHierarchyItem

The IVsPersistHierarchyItem2 type exposes the following members.

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.

Notes to Implementers

Implemented by Hierarchies that want to persist their items.

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