Compartilhar via


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

'Declaration
<GuidAttribute("0000010B-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IPersistFile _
    Inherits IPersist
[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

The IPersistFile type exposes the following members.

Methods

  Name Description
Public method GetClassID
Public method GetCurFile
Public method IsDirty
Public method Load
Public method Save
Public method SaveCompleted

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace