Html Library Help
Element Constructor (tagName, childElements)
NamespacesHtmlElementElement(String, array<Element>[]()[])
Initializes a new instance of the Element class.
Declaration Syntax
C#Visual BasicVisual C++
public Element(
	string tagName,
	params Element[] childElements
)
Public Sub New ( _
	tagName As String, _
	ParamArray childElements As Element() _
)
public:
Element(
	String^ tagName, 
	... array<Element^>^ childElements
)
Parameters
tagName (String)
Name of the tag being created.
childElements (array< Element >[]()[])
The child elements that will be appended to the element being created.
Examples
CopyC#
string expected = "<span><b>Hello</b></span>";
string actual =
    new Element("span",
        new Element("b")
            .Update("Hello")).ToString();
Assert.AreEqual(expected, actual);

Assembly: Html (Module: Html) Version: 1.0.0.2 (1.0.0.2)