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

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

Parameters

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

Return Value

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