Click or drag to resize
DataTypeGetDefaultValueCode Method
Gets the code for the default value of this type in C# code

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
public string GetDefaultValueCode(
	string explicitDefaultValue = null,
	bool returnEmpty = false


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