Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides persistence to hierarchy items.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPersistHierarchyItem2 _
Inherits IVsPersistHierarchyItem
[GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
[InterfaceTypeAttribute()]
public interface IVsPersistHierarchyItem2 : IVsPersistHierarchyItem
[GuidAttribute(L"5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
[InterfaceTypeAttribute()]
public interface class IVsPersistHierarchyItem2 : IVsPersistHierarchyItem
[<GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")>]
[<InterfaceTypeAttribute()>]
type IVsPersistHierarchyItem2 =
interface
interface IVsPersistHierarchyItem
end
public interface IVsPersistHierarchyItem2 extends IVsPersistHierarchyItem
The IVsPersistHierarchyItem2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
IgnoreItemFileChanges | Flag indicating that changes to a file can be ignored when item is saved or reloaded. |
![]() |
IsItemDirty | Determines whether the hierarchy item changed. |
![]() |
IsItemReloadable | Determines whether a project item is reloadable before calling ReloadItem. |
![]() |
ReloadItem | Called to reload project item. |
![]() |
SaveItem | Saves the hierarchy item to disk. |
Top
Remarks
Notes to Implementers
Implemented by Hierarchies that want to persist their items.