IUANode.Add(child)
Adds a project node that corresponds to the C# object passed in the argument.
void Add(IUANode child);
Arguments
child(IUANode)- A C# object that corresponds to the project node to add.
Example
The following example shows that the
MyLabel label child of the Panel object is added in the project:
var newPanel = InformationModel.MakeObject<Panel>("Panel");
var newLabel = InformationModel.MakeObject<Label>("MyLabel");
newPanel.Add(newLabel);
