BBCodeNodeReplaceChild Method

Replaces a specific child node with another.

Definition

Namespace: DevCase.Core.DataProcessing.Html.BBCode
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual BBCodeNode ReplaceChild(
	BBCodeNode old,
	BBCodeNode new
)

Parameters

old  BBCodeNode
The node to remove.

This must be a child of this node.

new  BBCodeNode
The replacement node.

This may not already be childed to another node.

Return Value

BBCodeNode
The removed node.

See Also