HtmlNodeCollectionInsert(Int32, String, Boolean) Method
Insert a new node prior to the specified Node in this collection.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public HtmlNodeItem Insert(
int beforeIndex,
string html,
bool parse = true
)
Public Function Insert (
beforeIndex As Integer,
html As String,
Optional parse As Boolean = true
) As HtmlNodeItem
No code example is currently available or this language may not be supported.
- beforeIndex Int32
-
The index of the node prior to which a new node will be inserted.
- html String
-
Html to insert.
- parse Boolean (Optional)
-
Value indicating whether to parse the text (true), or to just insert
it as-is (false).
HtmlNodeItem
Newly created and added Node.