HtmlNodeCollectionInsertAfter(HtmlNodeItem, HtmlNodeItem) Method

Insert a new node after the specified Node in this collection.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public HtmlNodeItem InsertAfter(
	HtmlNodeItem afterNode,
	HtmlNodeItem value
)

Parameters

afterNode  HtmlNodeItem
The Node after which a new node will be inserted.
value  HtmlNodeItem
Node to insert.

Return Value

HtmlNodeItem
Newly added Node, if the insertion point was found. Null otherwise.

See Also