DocumentHelperIsDocumentTypeAllowed Method |
Returns true if child class is allowed within given parent class and alias path.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public static bool IsDocumentTypeAllowed(
TreeNode node,
int childClassId
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Node under which is created a new document - childClassId
- Type: SystemInt32
Child class ID
Return Value
Type:
BooleanSee Also