CodeGeneratorGetPropertiesCode Method |
Gets the C# code for the properties based on the given form information.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax public static string GetPropertiesCode(
FormInfo fi,
bool systemFields,
string baseControl,
StringBuilder sbInit,
bool useSystemMethods
)
Parameters
- fi
- Type: CMS.FormEngineFormInfo
Form information - systemFields
- Type: SystemBoolean
If true, the system fields are included to the code generation - baseControl
- Type: SystemString
Base control name in case the properties are mirrored to the base control - sbInit
- Type: System.TextStringBuilder
String builder for the initialization code of the base control - useSystemMethods
- Type: SystemBoolean
If true, system method are used for conversion of values
Return Value
Type:
StringSee Also