Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
TranslationHelper Class
TranslationHelper Methods
AddIDTranslation Method
ChangeCodeName Method
Clear Method
FilterExistingRecords Method
GetCodeName Method
GetDefaultValue Method
GetEmptyTable Method
GetID Method
GetIDFromDB Method
GetIDWithFallback Method
GetNewID Method
GetNewIDs Method
GetParentType Method
GetRecord Method
GetSafeClassName Method
GetTranslationsXml Method
HasRecords Method
IsEmpty Method
IsExcluded Method
RecordExists Method
RegisterDynamicRecords Method
RegisterRecord Method
RegisterRecords Method
RemoveDefaultValue Method
SetDefaultValue Method
TranslateColumn Method
TranslateColumns Method
TranslateListColumn Method
TranslationHelper
GetDefaultValue Method
Gets default value.
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
Copy
public
int
GetDefaultValue
(
string
objectType
)
Parameters
objectType
Type:
System
String
Object type
Return Value
Type:
Int32
Exceptions
Exception
Condition
ArgumentException
When provided
objectType
is null or empty.
See Also
Reference
TranslationHelper Class
CMS.DataEngine Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com