Click or drag to resize
DocumentHelperIsDocumentTypeAllowed Method
Returns true if child class is allowed within given parent class and alias path.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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: Boolean
See Also