Table of Contents

Interface IChildNode

Namespace
AngleSharp.Dom
Assembly
AngleSharp.dll

The ChildNode interface contains methods that are particular to Node objects that can have a parent.

[DomName("ChildNode")]
[DomNoInterfaceObject]
public interface IChildNode
Extension Methods

Methods

After(params INode[])

Inserts nodes just after the current node.

[DomName("after")]
void After(params INode[] nodes)

Parameters

nodes INode[]

The nodes to insert.

Before(params INode[])

Inserts nodes just before the current node.

[DomName("before")]
void Before(params INode[] nodes)

Parameters

nodes INode[]

The nodes to insert.

Remove()

Removes the current node.

[DomName("remove")]
void Remove()

Replace(params INode[])

Replaces the current node with nodes.

[DomName("replace")]
void Replace(params INode[] nodes)

Parameters

nodes INode[]

The nodes to insert.