ObjectTypeTreeNodeAddObjectType 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 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:
ObjectTypeTreeNodeSee Also