Save Method (String, Encoding)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
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.

See Also