Sage Modeling and Simulation Library

ITreeNode<(Of <(<'T>)>)>..::..SetParent Method

Sets the parent of this node, but does not then set this node as a child to that parent if childAlreadyAdded is set to true.

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

Syntax


void SetParent(
	ITreeNode<T> newParent,
	bool skipStructureChecking,
	bool childAlreadyAdded
)

Parameters

newParent
Type: Highpoint.Sage.Utility..::..ITreeNode<(Of <(<'T>)>)>
The new parent.
skipStructureChecking
Type: Boolean
if set to true [skip structure checking].
childAlreadyAdded
Type: Boolean
if set to true [child already added].