Click or drag to resize
TranslationHelperGetNewID Method (String, Int32, String, Int32, String, String, String)
Gets the new ID for given old ID.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public int GetNewID(
	string objectType,
	int oldId,
	string codeNameColumn,
	int siteId,
	string siteIdColumn,
	string parentIdColumn,
	string groupIdColumn
)

Parameters

objectType
Type: SystemString
Object type
oldId
Type: SystemInt32
Old ID
codeNameColumn
Type: SystemString
Code name column of the class
siteId
Type: SystemInt32
Site ID of the required object
siteIdColumn
Type: SystemString
Site ID column of the class
parentIdColumn
Type: SystemString
Parent ID column
groupIdColumn
Type: SystemString
Group ID column

Return Value

Type: Int32
See Also