共用方式為


IPersistStorage Interface

Enables a container to pass a storage object to a contained object and to save and to load the object. Inherits from IPersist. For more information, see IPersistStorage.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("0000010A-0000-0000-C000-000000000046")> _
Public Interface IPersistStorage _
    Inherits IPersist
[InterfaceTypeAttribute()]
[GuidAttribute("0000010A-0000-0000-C000-000000000046")]
public interface IPersistStorage : IPersist

The IPersistStorage type exposes the following members.

Methods

  Name Description
Public method GetClassID(Guid%) (Inherited from IPersist.)
Public method GetClassID(Guid%)
Public method HandsOffStorage
Public method InitNew
Public method IsDirty
Public method Load
Public method Save
Public method SaveCompleted

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace