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: 10.0.0
Syntax
C#
public 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