Freigeben über


IVsPersistHierarchyItem2 Interface

Definition

Provides persistence to hierarchy items.

public interface class IVsPersistHierarchyItem2 : Microsoft::VisualStudio::Shell::Interop::IVsPersistHierarchyItem
public interface class IVsPersistHierarchyItem2 : Microsoft::VisualStudio::Shell::Interop::IVsPersistHierarchyItem
__interface IVsPersistHierarchyItem2 : Microsoft::VisualStudio::Shell::Interop::IVsPersistHierarchyItem
[System.Runtime.InteropServices.Guid("5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPersistHierarchyItem2 : Microsoft.VisualStudio.Shell.Interop.IVsPersistHierarchyItem
[System.Runtime.InteropServices.Guid("5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPersistHierarchyItem2 : Microsoft.VisualStudio.Shell.Interop.IVsPersistHierarchyItem
[<System.Runtime.InteropServices.Guid("5A494367-DF56-4062-8EDA-54E2C1FF42BC")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPersistHierarchyItem2 = interface
    interface IVsPersistHierarchyItem
[<System.Runtime.InteropServices.Guid("5A494367-DF56-4062-8EDA-54E2C1FF42BC")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPersistHierarchyItem2 = interface
    interface IVsPersistHierarchyItem
Public Interface IVsPersistHierarchyItem2
Implements IVsPersistHierarchyItem
Attributes
Implements

Notes to Implementers

Implemented by Hierarchies that want to persist their items.

Methods

IgnoreItemFileChanges(UInt32, Int32)

Flag indicating that changes to a file can be ignored when item is saved or reloaded.

IsItemDirty(UInt32, IntPtr, Int32)

Determines whether the hierarchy item changed.

IsItemReloadable(UInt32, Int32)

Determines whether a project item is reloadable before calling ReloadItem(UInt32, UInt32).

ReloadItem(UInt32, UInt32)

Called to reload project item.

SaveItem(VSSAVEFLAGS, String, UInt32, IntPtr, Int32)

Saves the hierarchy item to disk.

Applies to