Freigeben über


Project.Save Method

Definition

Saves the project to a file.

Overloads

Save(TextWriter)

Saves the current contents of the project to a TextWriter object.

Save(String)

Saves the current contents of the project to an XML project file on disk. This method will NOT add the ?xml node if it's not already present

Save(String, Encoding)

Saves the current contents of the project to an XML project file on disk using the supplied encoding.

Save(TextWriter)

Source:
Project.cs

Saves the current contents of the project to a TextWriter object.

public:
 void Save(System::IO::TextWriter ^ textWriter);
public void Save (System.IO.TextWriter textWriter);
member this.Save : System.IO.TextWriter -> unit
Public Sub Save (textWriter As TextWriter)

Parameters

textWriter
TextWriter

Applies to

Save(String)

Source:
Project.cs

Saves the current contents of the project to an XML project file on disk. This method will NOT add the ?xml node if it's not already present

public:
 void Save(System::String ^ projectFileName);
public void Save (string projectFileName);
member this.Save : string -> unit
Public Sub Save (projectFileName As String)

Parameters

projectFileName
String

Applies to

Save(String, Encoding)

Source:
Project.cs

Saves the current contents of the project to an XML project file on disk using the supplied encoding.

public:
 void Save(System::String ^ projectFileName, System::Text::Encoding ^ encoding);
public void Save (string projectFileName, System.Text.Encoding encoding);
member this.Save : string * System.Text.Encoding -> unit
Public Sub Save (projectFileName As String, encoding As Encoding)

Parameters

projectFileName
String
encoding
Encoding

Applies to