Click or drag to resize
ObjectTypeTreeNodeAddGroup Method
Creates a new empty object type tree. Returns identity

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
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: ObjectTypeTreeNode
See Also