ObjectTypeTreeNodeAddGroup Method |
Creates a new empty object type tree. Returns identity
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public ObjectTypeTreeNode AddGroup(
string groupName,
bool main = false,
Action<ObjectTypeTreeNode> groupSetup = null,
bool atStart = false
)
Parameters
- groupName
- Type: SystemString
Name of the root group - main (Optional)
- Type: SystemBoolean
If true, the group is main group - groupSetup (Optional)
- Type: SystemActionObjectTypeTreeNode
Sets up the newly created node - atStart (Optional)
- Type: SystemBoolean
If true, the node is added to the start of the list
Return Value
Type:
ObjectTypeTreeNodeSee Also