The HtmlDocument type exposes the following members.
Methods
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.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetElementbyId |
Gets the HTML node with the specified 'id' attribute value.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.
| |
ToString | (Inherited from Object.) |