| IContentItemCodeGeneratorGenerateItemClass Method |
Generates content item class for the specified data class and returns it.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 13.0.131
Syntaxstring GenerateItemClass(
DataClassInfo dataClass
)
Parameters
- dataClass
- Type: CMS.DataEngineDataClassInfo
The data class for which code should be generated.
Return Value
Type:
StringContent item class for the specified data class.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Data class is null. |
| ArgumentException | The specified data class is not supported. |
See Also