HtmlNodeCollectionAdd(String, String) Method
Add a new HtmlNodeItem to the collection by its node type and text.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public HtmlNodeItem Add(
string nodeType,
string text
)
Public Function Add (
nodeType As String,
text As String
) As HtmlNodeItem
No code example is currently available or this language may not be supported.
- nodeType String
-
The node type to add.
- text String
-
The node text to add.
HtmlNodeItem
Reference to a newly created and added HtmlNodeItem, if a valid
nodeType was provided. Otherwise, reference to a newly created div
element.