IPersistFile.Save Method (String, Boolean)


Saves a copy of the object into the specified file.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void Save(
	string pszFileName,
	bool fRemember


Type: System.String

A zero-terminated string containing the absolute path of the file to which the object is saved.

Type: System.Boolean

true to used the pszFileName parameter as the current working file; otherwise false.

For more information, see the existing documentation for IPersistFile::Save in the MSDN library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top