ObjectTypeTreeNode AddObjectType Method Kentico 8.0 API Reference
Creates a new empty object type tree. Returns identity

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

objectType
Type: OnlineSystem String
Object type
setup (Optional)
Type: OnlineSystem Action ObjectTypeTreeNode 
Sets up the newly created node
atStart (Optional)
Type: OnlineSystem Boolean
If true, the node is added to the start of the list

Return Value

Type: ObjectTypeTreeNode
See Also