Click or drag to resize
AllowedChildClassInfoProviderAddAllowedChildClass Method

Note: This API is now obsolete.

Inserts new record to CMS_AllowedChildClasses table if no one exists.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IAllowedChildClassInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - AllowedChildClassInfo.Provider.")]
public static void AddAllowedChildClass(
	int parentClassId,
	int childClassId
)

Parameters

parentClassId
Type: SystemInt32
Parent ClassID
childClassId
Type: SystemInt32
Child ClassID
See Also