MailBee.NET Objects 4.0

Element Members

Element overview

Public Instance Constructors

Element Overloaded. Initializes a new instance of the Element class.

Public Instance Properties

Attributes Gets the list of all attributes of the HTML tag.
InnerElements Gets the list of HTML elements directly contained in the current HTML element.
InnerHtml Gets or sets the inner HTML contents of the current HTML element.
OuterHtml Gets or sets the text representation of the current HTML element.
TagDefinition Gets or sets the tag definition of the current HTML element.
TagName Gets or sets the tag name of the current HTML element.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current 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 (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetInnerElementsByName Returns the flat list containing elements with the specified tag name and contained in the current HTML element.
GetType (inherited from Object) Gets the Type of the current instance.
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 and ProcessToString methods.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Element Class | MailBee.Html Namespace