FormHelperGetFieldTypes Method |
Note: This API is now obsolete.
Returns list of all field types for the given object type
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax [ObsoleteAttribute("Use method DataTypeManager.GetFieldTypes")]
public static IEnumerable<string> GetFieldTypes(
string objectType,
bool onlyVisible = true
)
Parameters
- objectType
- Type: SystemString
Object type, if not specified or null, all field types are returned - onlyVisible (Optional)
- Type: SystemBoolean
If true, only visible field types are provided
Return Value
Type:
IEnumerableStringSee Also