Click or drag to resize
IContentItemCodeGeneratorGenerateItemClass Method
Generates content item class for the specified data class and returns it.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 11.0.0
Syntax
C#
string GenerateItemClass(
	DataClassInfo dataClass
)

Parameters

dataClass
Type: CMS.DataEngineDataClassInfo
The data class for which code should be generated.

Return Value

Type: String
Content item class for the specified data class.
Exceptions
ExceptionCondition
ArgumentNullExceptionData class is null.
ArgumentExceptionThe specified data class is not supported.
See Also