HtmlNodeNavigator Constructor (Stream, Encoding, Boolean, Int32)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.

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

Syntax

C#
public HtmlNodeNavigator(
	Stream stream,
	Encoding encoding,
	bool detectEncodingFromByteOrderMarks,
	int buffersize
)
Visual Basic
Public Sub New ( _
	stream As Stream, _
	encoding As Encoding, _
	detectEncodingFromByteOrderMarks As Boolean, _
	buffersize As Integer _
)
Visual C++
public:
HtmlNodeNavigator(
	Stream^ stream, 
	Encoding^ encoding, 
	bool detectEncodingFromByteOrderMarks, 
	int buffersize
)

Parameters

stream
Type: System.IO..::..Stream
The input stream.
encoding
Type: System.Text..::..Encoding
The character encoding to use.
detectEncodingFromByteOrderMarks
Type: System..::..Boolean
Indicates whether to look for byte order marks at the beginning of the stream.
buffersize
Type: System..::..Int32
The minimum buffer size.

See Also