DataType GetDefaultValueCode Method Kentico 8.1 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.1.5347.20411)

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