IPersistFileFormat Members

Include Protected Members
Include Inherited Members

Obtains file format information about items that require saving, and enables the programmatic loading or saving of an object in a format specified by the user.

The IPersistFileFormat type exposes the following members.

Methods

  Name Description
Public method GetClassID (Inherited from IPersist.)
Public method GetCurFile Returns the path to an object's current working file, or, if there is not a current working file, the object's default file name prompt.
Public method GetFormatList Provides the caller with the information necessary to open the standard common Save As dialog box (using the GetSaveFileNameViaDlg function) on behalf of the object.
Public method InitNew Instructs the object to initialize itself in the untitled state.
Public method IsDirty Determines whether an object has changed since being saved to its current file.
Public method Load Opens a specified file and initializes an object from the file contents.
Public method Save Saves a copy of the object into the specified file.
Public method SaveCompleted Notifies the object that it has concluded the Save transaction and that the object can write to its file.

Top

See Also

Reference

IPersistFileFormat Interface

Microsoft.VisualStudio.Shell.Interop Namespace