IPersistFile Interface

Definition

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

public interface class IPersistFile : Microsoft::VisualStudio::OLE::Interop::IPersist
public interface class IPersistFile : Microsoft::VisualStudio::OLE::Interop::IPersist
__interface IPersistFile : Microsoft::VisualStudio::OLE::Interop::IPersist
[System.Runtime.InteropServices.Guid("0000010B-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IPersistFile : Microsoft.VisualStudio.OLE.Interop.IPersist
[System.Runtime.InteropServices.Guid("0000010B-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPersistFile : Microsoft.VisualStudio.OLE.Interop.IPersist
[<System.Runtime.InteropServices.Guid("0000010B-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IPersistFile = interface
    interface IPersist
[<System.Runtime.InteropServices.Guid("0000010B-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IPersistFile = interface
    interface IPersist
Public Interface IPersistFile
Implements IPersist
Attributes
Implements

Remarks

As this is a COM interface, its methods must be invoked on the UI thread.

Methods

GetClassID(Guid)
GetCurFile(String)
IsDirty()
Load(String, UInt32)
Save(String, Int32)
SaveCompleted(String)

Applies to