Save Method (Stream, Encoding)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Saves the HTML document to the specified stream.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public void Save(
	Stream outStream,
	Encoding encoding
)
Visual Basic
Public Sub Save ( _
	outStream As Stream, _
	encoding As Encoding _
)
Visual C++
public:
void Save(
	Stream^ outStream, 
	Encoding^ encoding
)

Parameters

outStream
Type: System.IO..::..Stream
The stream to which you want to save. May not be null.
encoding
Type: System.Text..::..Encoding
The character encoding to use. May not be null.

See Also