共用方式為


IVsPersistHierarchyItem2 Interface

Provides persistence to hierarchy items.

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

Syntax

'宣告
<GuidAttribute("5A494367-DF56-4062-8EDA-54E2C1FF42BC")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPersistHierarchyItem2 _
    Inherits IVsPersistHierarchyItem
'用途
Dim instance As IVsPersistHierarchyItem2
[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

Remarks

Notes to Implementers

Implemented by Hierarchies that want to persist their items.

See Also

Reference

IVsPersistHierarchyItem2 Members

Microsoft.VisualStudio.Shell.Interop Namespace