Sage Modeling and Simulation Library

TreeNodeCollection<(Of <(<'T>)>)>..::..Add Method

Adds the specified new child to this collection.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public ITreeNode<T> Add(
	T newChild,
	bool skipStructuralChecking
)

Parameters

newChild
Type: T
The new child.
skipStructuralChecking
Type: Boolean
if set to true addition of this child will be perforemd without structural checking.

Return Value

The TreeNode that resulted from this addition - either the node to be added, or its TreeNode wrapper.