This page contains reference documentation for the Children member. This member is an array of the group's children.
Node[] Children;
Examples are as follows:
int childCount = parent.ChildCount;
for( int i = 0; i < childCount; ++i )
{
Node child = parent.Children[i];
if( child.IsDerived( Group ) )
{
Group testCollNode = (Group)child;
if( testCollNode.ChildCount == 1 && testCollNode.Children[0].IsDerived( CollectionNode ) )
{
SetCollectionVisibility( (CollectionNode)testCollNode.Children[0], false );
}
}
}
For sample code: