Rediger

Del via


IPersistFile.Save(String, Boolean) Method

Definition

Saves a copy of the object into the specified file.

public:
 void Save(System::String ^ pszFileName, bool fRemember);
public void Save (string pszFileName, bool fRemember);
public void Save (string? pszFileName, bool fRemember);
abstract member Save : string * bool -> unit
Public Sub Save (pszFileName As String, fRemember As Boolean)

Parameters

pszFileName
String

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

fRemember
Boolean

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

Remarks

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

Applies to