![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
A Sandcastle Documented Class Library |
HtmlDocument..::..Save Method (String, Encoding) |
HtmlDocument Class See Also Send Feedback |
Saves the mixed document to the specified file.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public void Save( string filename, Encoding encoding ) |
Visual Basic |
---|
Public Sub Save ( _ filename As String, _ encoding As Encoding _ ) |
Visual C++ |
---|
public: void Save( String^ filename, Encoding^ encoding ) |
Parameters
- filename
- Type: System..::..String
The location of the file where you want to save the document. May not be null.
- encoding
- Type: System.Text..::..Encoding
The character encoding to use. May not be null.