DataTypeGetDefaultValueCode Method |
Gets the code for the default value of this type in C# code
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntaxpublic string GetDefaultValueCode(
string explicitDefaultValue = null,
bool returnEmpty = false
)
Parameters
- explicitDefaultValue (Optional)
- Type: SystemString
Explicit default value to use - returnEmpty (Optional)
- Type: SystemBoolean
If true, the method returns code even if default value representation is empty
Return Value
Type:
String
See Also