Project.Save Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves the project to the file system, if modified, using the default character encoding.
Overloads
Save() |
Save the project to the file system, if dirty. Uses the default encoding. |
Save(TextWriter) |
Save the project to the provided TextWriter, whether or not it is dirty. Uses the encoding of the TextWriter. Clears the Dirty flag. |
Save(String) |
Save the project to the file system, if dirty or the path is different. Uses the default encoding. |
Save(Encoding) |
Save the project to the file system, if dirty. |
Save(String, Encoding) |
Save the project to the file system, if dirty or the path is different. |
Save()
- Source:
- Project.cs
Save the project to the file system, if dirty. Uses the default encoding.
public:
void Save();
public void Save ();
member this.Save : unit -> unit
Public Sub Save ()
Applies to
Save(TextWriter)
- Source:
- Project.cs
Save the project to the provided TextWriter, whether or not it is dirty. Uses the encoding of the TextWriter. Clears the Dirty flag.
public:
void Save(System::IO::TextWriter ^ writer);
public void Save (System.IO.TextWriter writer);
member this.Save : System.IO.TextWriter -> unit
Public Sub Save (writer As TextWriter)
Parameters
- writer
- TextWriter
The text writer to save the project to.
Applies to
Save(String)
- Source:
- Project.cs
Save the project to the file system, if dirty or the path is different. Uses the default encoding.
public:
void Save(System::String ^ path);
public void Save (string path);
member this.Save : string -> unit
Public Sub Save (path As String)
Parameters
- path
- String
The path to the project source code.
Applies to
Save(Encoding)
- Source:
- Project.cs
Save the project to the file system, if dirty.
public:
void Save(System::Text::Encoding ^ encoding);
public void Save (System.Text.Encoding encoding);
member this.Save : System.Text.Encoding -> unit
Public Sub Save (encoding As Encoding)
Parameters
- encoding
- Encoding
The character encoding used to save the project.
Applies to
Save(String, Encoding)
- Source:
- Project.cs
Save the project to the file system, if dirty or the path is different.
public:
void Save(System::String ^ path, System::Text::Encoding ^ encoding);
public void Save (string path, System.Text.Encoding encoding);
member this.Save : string * System.Text.Encoding -> unit
Public Sub Save (path As String, encoding As Encoding)
Parameters
- path
- String
The path to the project source code.
- encoding
- Encoding
The character encoding used to save the project.