Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
)

Parameters

pszFileName
Type: System::String^

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

fRemember
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
Show:
© 2017 Microsoft