DataType GetDefaultValueCode Method Kentico 8.0 API Reference
Gets the code for the default value of this type in C# code

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

Parameters

explicitDefaultValue (Optional)
Type: OnlineSystem String
Explicit default value to use
returnEmpty (Optional)
Type: OnlineSystem Boolean
If true, the method returns code even if default value representation is empty

Return Value

Type: OnlineString
See Also