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