共用方式為


IVsPersistHierarchyItem2 Interface

Provides persistence to hierarchy items.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")> _
Public Interface IVsPersistHierarchyItem2 _
    Implements IVsPersistHierarchyItem
'用途
Dim instance As IVsPersistHierarchyItem2
[InterfaceTypeAttribute()]
[GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
public interface IVsPersistHierarchyItem2 : IVsPersistHierarchyItem
[InterfaceTypeAttribute()]
[GuidAttribute(L"5A494367-DF56-4062-8EDA-54E2C1FF42BC")]
public interface class IVsPersistHierarchyItem2 : IVsPersistHierarchyItem
public interface IVsPersistHierarchyItem2 extends IVsPersistHierarchyItem

Remarks

See illustrations of the implementation and/or calling of this interface in the Figures Project sample.

Notes to Implementers:

Implemented by Hierarchies that want to persist their items.

See Also

Reference

IVsPersistHierarchyItem2 Members

Microsoft.VisualStudio.Shell.Interop Namespace