H<n> element
More...
H<n> element
Definition at line 10 of file Hn.cs.
◆ Hn()
H<n> element
- Parameters
-
Document | HTML Document. |
Parent | Parent element. Can be null for root elements. |
StartPosition | Start position. |
Level | Header level. |
Definition at line 21 of file Hn.cs.
◆ Export() [1/2]
override void Waher.Content.Html.HtmlElement.Export |
( |
StringBuilder |
Output | ) |
|
|
virtualinherited |
◆ Export() [2/2]
override void Waher.Content.Html.HtmlElement.Export |
( |
XmlWriter |
Output | ) |
|
|
virtualinherited |
◆ GetAttribute()
string Waher.Content.Html.HtmlElement.GetAttribute |
( |
string |
Name | ) |
|
|
inherited |
Gets a given attribute value, if available. The empty string is returned if the attribute does not exist.
- Parameters
-
Name | Case-insensitive attribute name. |
- Returns
- Attribute value.
Definition at line 302 of file HtmlElement.cs.
◆ HasAttribute()
bool Waher.Content.Html.HtmlElement.HasAttribute |
( |
string |
Name | ) |
|
|
inherited |
If the element has an attribute with a given (case-insensitive) name.
- Parameters
-
Name | Case-insensitive attribute name. |
- Returns
- If such an attribute exists.
Definition at line 280 of file HtmlElement.cs.
◆ ToString()
override string Waher.Content.Html.HtmlElement.ToString |
( |
| ) |
|
|
inherited |
◆ TryGetAttribute()
bool Waher.Content.Html.HtmlElement.TryGetAttribute |
( |
string |
Name, |
|
|
out HtmlAttribute |
Attribute |
|
) |
| |
|
inherited |
Tries to get an attribute from the element, by its name.
- Parameters
-
Name | Attribute name. |
Attribute | Attribute object, if found, null otherwise. |
- Returns
- If attribute was found.
Definition at line 100 of file HtmlElement.cs.
◆ Attributes
IEnumerable<HtmlAttribute> Waher.Content.Html.HtmlElement.Attributes |
|
getinherited |
◆ Children
IEnumerable<HtmlNode> Waher.Content.Html.HtmlElement.Children |
|
getinherited |
◆ Document
◆ EndPosition
int Waher.Content.Html.HtmlNode.EndPosition |
|
getsetinherited |
End position of element.
Definition at line 68 of file HtmlNode.cs.
◆ EndPositionOfStartTag
int Waher.Content.Html.HtmlElement.EndPositionOfStartTag |
|
getinherited |
◆ HasAttributes
bool Waher.Content.Html.HtmlElement.HasAttributes |
|
getinherited |
◆ HasChildren
bool Waher.Content.Html.HtmlElement.HasChildren |
|
getinherited |
◆ InnerHtml
string Waher.Content.Html.HtmlElement.InnerHtml |
|
getinherited |
◆ InnerText
string Waher.Content.Html.HtmlElement.InnerText |
|
getinherited |
◆ IsEmptyElement
virtual bool Waher.Content.Html.HtmlElement.IsEmptyElement |
|
getinherited |
◆ Level
int Waher.Content.Html.Elements.Hn.Level |
|
get |
◆ Name
string Waher.Content.Html.HtmlElement.Name |
|
getinherited |
◆ Namespace
string Waher.Content.Html.HtmlElement.Namespace |
|
getinherited |
Namespace, if provided, null if not.
Definition at line 41 of file HtmlElement.cs.
◆ OuterHtml
string Waher.Content.Html.HtmlNode.OuterHtml |
|
getinherited |
◆ Parent
HtmlNode Waher.Content.Html.HtmlNode.Parent |
|
getinherited |
Parent node, if available.
Definition at line 54 of file HtmlNode.cs.
◆ StartPosition
int Waher.Content.Html.HtmlNode.StartPosition |
|
getsetinherited |
Start position of element.
Definition at line 59 of file HtmlNode.cs.
◆ StartTag
string Waher.Content.Html.HtmlElement.StartTag |
|
getinherited |
The documentation for this class was generated from the following file:
- C:/My Projects/IoTGateway/Content/Waher.Content.Html/Elements/Hn.cs