Element Methods |
The Element 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.) | |
GetAllElements |
Returns the current HTML element and all its child elements as a flat list.
| |
GetAllElementsByName |
Returns the current HTML element and all its child elements
having the specified tag name as a flat list.
| |
GetAttributeByName |
Returns the HTML attribute with the specified name.
| |
GetAttributesByName |
Returns all attributes with the specified name and contained in the current HTML element.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInnerElementsByName |
Returns the flat list containing elements with the specified tag name and contained in the current HTML element.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Process |
Applies the specified tag processing rules to the current element and any its child elements, calling a delegate
for every tag which matches the specified rules.
| |
ProcessToString |
Applies the specified tag processing rules to the copy of the current element and any its child elements, calling a delegate
for every tag which matches the specified rules, and returns the resulting OuterHtml as a string.
| |
Remove |
Removes this HTML element from InnerElements collection of its parent.
| |
Stop |
Stops execution of Process(RuleSet, ProcessElementDelegate) and ProcessToString(RuleSet, ProcessElementDelegate) methods.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |