Click or drag to resize
ObjectTypeTreeNodeAddObjectType 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 AddObjectType(
	string objectType,
	Action<ObjectTypeTreeNode> setup = null,
	bool atStart = false
)

Parameters

objectType
Type: SystemString
Object type
setup (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