TranslationHelper TranslateColumn Method (GeneralizedInfo, String, String, Int32, Boolean, Boolean)Kentico 8.0 API Reference
Translates the column value of the given info object.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

infoObj
Type: CMS.DataEngine GeneralizedInfo
Object with the data
columnName
Type: OnlineSystem String
Column name to translate
objectType
Type: OnlineSystem String
Object type
siteId (Optional)
Type: OnlineSystem Int32
Target site ID for objects lookup which are site-related
useDefaultValue (Optional)
Type: OnlineSystem Boolean
Indicates if default value should be used for new IDs
required (Optional)
Type: OnlineSystem Boolean
If false, the column is allowed to be set to null in case the translation is not found.

Return Value

Type: OnlineBoolean
Returns true if the translation was successful
See Also