共用方式為


IPersistFile Interface

Enables an object to be saved or loaded to a disk file. Inherits from IPersist. For more information, see IPersistFile.

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

Syntax

'宣告
<GuidAttribute("0000010B-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IPersistFile _
    Inherits IPersist
'用途
Dim instance As IPersistFile
[GuidAttribute("0000010B-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IPersistFile : IPersist
[GuidAttribute(L"0000010B-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface class IPersistFile : IPersist
[<GuidAttribute("0000010B-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute()>]
type IPersistFile =  
    interface
        interface IPersist
    end
public interface IPersistFile extends IPersist

See Also

Reference

IPersistFile Members

Microsoft.VisualStudio.OLE.Interop Namespace