HtmlNodeCollectionInsert(HtmlNodeItem) Method

Insert a new node prior to the specified Node in this collection.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public HtmlNodeItem Insert(
	HtmlNodeItem beforeNode
)

Parameters

beforeNode  HtmlNodeItem
The Node prior to which a new node will be inserted.

Return Value

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

See Also