Element Methods

The Element type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllElements
Returns the current HTML element and all its child elements as a flat list.
Public methodGetAllElementsByName
Returns the current HTML element and all its child elements having the specified tag name as a flat list.
Public methodGetAttributeByName
Returns the HTML attribute with the specified name.
Public methodGetAttributesByName
Returns all attributes with the specified name and contained in the current HTML element.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInnerElementsByName
Returns the flat list containing elements with the specified tag name and contained in the current HTML element.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleProcess
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.
Public methodCode exampleProcessToString
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.
Public methodRemove
Removes this HTML element from InnerElements collection of its parent.
Public methodStop
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also