CodeGenerator GetPropertiesCode Method Kentico 8.0 API Reference
Gets the C# code for the properties based on the given form information.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

fi
Type: CMS.FormEngine FormInfo
Form information
systemFields
Type: OnlineSystem Boolean
If true, the system fields are included to the code generation
baseControl
Type: OnlineSystem String
Base control name in case the properties are mirrored to the base control
sbInit
Type: OnlineSystem.Text StringBuilder
String builder for the initialization code of the base control
useSystemMethods
Type: OnlineSystem Boolean
If true, system method are used for conversion of values

Return Value

Type: OnlineString
See Also