HtmlDocument Methods |
The HtmlDocument type exposes the following members.
Name | Description | |
---|---|---|
![]() | CreateAttribute(String) |
Creates an HTML attribute with the specified name.
|
![]() | CreateAttribute(String, String) |
Creates an HTML attribute with the specified name.
|
![]() | CreateComment |
Creates an HTML comment node.
|
![]() | CreateComment(String) |
Creates an HTML comment node with the specified comment text.
|
![]() | CreateElement |
Creates an HTML element node with the specified name.
|
![]() | CreateNavigator |
Creates a new XPathNavigator object for navigating this HTML document.
|
![]() | CreateTextNode |
Creates an HTML text node.
|
![]() | CreateTextNode(String) |
Creates an HTML text node with the specified text.
|
![]() | DetectEncoding(Stream) |
Detects the encoding of an HTML stream.
|
![]() | DetectEncoding(TextReader) |
Detects the encoding of an HTML text provided on a TextReader.
|
![]() | DetectEncoding(String) |
Detects the encoding of an HTML file.
|
![]() | DetectEncodingAndLoad(String) |
Detects the encoding of an HTML document from a file first, and then loads the file.
|
![]() | DetectEncodingAndLoad(String, Boolean) |
Detects the encoding of an HTML document from a file first, and then loads the file.
|
![]() | DetectEncodingHtml |
Detects the encoding of an HTML text.
|
![]() | GetElementbyId |
Gets the HTML node with the specified 'id' attribute value.
|
![]() ![]() | GetXmlName |
Gets a valid XML name.
|
![]() ![]() | HtmlEncode |
Applies HTML encoding to a specified string.
|
![]() ![]() | IsWhiteSpace |
Determines if the specified character is considered as a whitespace character.
|
![]() | Load(Stream) |
Loads an HTML document from a stream.
|
![]() | Load(TextReader) |
Loads the HTML document from the specified TextReader.
|
![]() | Load(String) |
Loads an HTML document from a file.
|
![]() | Load(Stream, Boolean) |
Loads an HTML document from a stream.
|
![]() | Load(Stream, Encoding) |
Loads an HTML document from a stream.
|
![]() | Load(String, Boolean) |
Loads an HTML document from a file.
|
![]() | Load(String, Encoding) |
Loads an HTML document from a file.
|
![]() | Load(Stream, Encoding, Boolean) |
Loads an HTML document from a stream.
|
![]() | Load(String, Encoding, Boolean) |
Loads an HTML document from a file.
|
![]() | Load(Stream, Encoding, Boolean, Int32) |
Loads an HTML document from a stream.
|
![]() | Load(String, Encoding, Boolean, Int32) |
Loads an HTML document from a file.
|
![]() | LoadHtml |
Loads the HTML document from the specified string.
|
![]() | Save(Stream) |
Saves the HTML document to the specified stream.
|
![]() | Save(StreamWriter) |
Saves the HTML document to the specified StreamWriter.
|
![]() | Save(TextWriter) |
Saves the HTML document to the specified TextWriter.
|
![]() | Save(String) |
Saves the mixed document to the specified file.
|
![]() | Save(XmlWriter) |
Saves the HTML document to the specified XmlWriter.
|
![]() | Save(Stream, Encoding) |
Saves the HTML document to the specified stream.
|
![]() | Save(String, Encoding) |
Saves the mixed document to the specified file.
|