Click or drag to resize
TranslationHelperTranslateColumn Method (DataRow, String, String, Int32)
Translates the DataRow column.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public bool TranslateColumn(
	DataRow dr,
	string columnName,
	string objectType,
	int siteId = 0
)

Parameters

dr
Type: System.DataDataRow
DataRow with the data
columnName
Type: SystemString
Column name
objectType
Type: SystemString
Object type
siteId (Optional)
Type: SystemInt32
Target site ID for objects lookup which are site-related

Return Value

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