Processor Class |
Namespace: MailBee.Html
The Processor type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadFromStream |
Loads HTML markup from a stream.
| |
LoadFromStreamAsync |
async/await version of LoadFromStream(Stream, Encoding).
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveToStream |
Saves HTML markup into a stream.
| |
SaveToStreamAsync |
async/await version of SaveToStream(Stream, Encoding).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AHRefs |
Gets the list of all links (<A HREF> tags) in Dom HTML document.
| |
Dom |
Gets the root Element object which represents the entire HTML document.
| |
Images |
Gets the list of all <IMG> tags in Dom HTML document.
| |
LastResult |
Gets the code of the last occurred error.
| |
ThrowExceptions |
Gets or sets whether the object will throw exceptions on errors.
|
Use this class if you need to load HTML document from a stream (or save it into a stream) or access the collections of links or images contained in the document. In other cases, you can use Element class on its own.
As alternative to using this class, you can create Element object directly and use the standard stream classes of .NET framework to fill this Element object with data. To access links, images, or any other elements, you can use GetAllElementsByName(String) method.