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

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

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
useDefaultValue
Type: SystemBoolean
Indicates if default value should be used for ID
outGroupId
Type: SystemInt32
Returns Group ID value

Return Value

Type: Int32
See Also