Click or drag to resize

ITreeAdaptorReplaceChildren Method

Replace from start to stop child index of parent with t, which might be a list. Number of children may be different after this call.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
void ReplaceChildren(
	Object parent,
	int startChildIndex,
	int stopChildIndex,
	Object t
)

Parameters

parent
Type: SystemObject

[Missing <param name="parent"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

startChildIndex
Type: SystemInt32

[Missing <param name="startChildIndex"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

stopChildIndex
Type: SystemInt32

[Missing <param name="stopChildIndex"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

t
Type: SystemObject

[Missing <param name="t"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

Remarks
If parent is null, don't do anything; must be at root of overall tree. Can't replace whatever points to the parent externally. Do nothing.
See Also