Click or drag to resize
TranslationHelperGetID Method (String, String, String, Int32, Int32, Int32)
Returns the object ID for specified record.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public int GetID(
	string objectType,
	string codeName,
	string siteName,
	int parentId,
	int groupId,
	int defaultValue
)

Parameters

objectType
Type: SystemString
Object type
codeName
Type: SystemString
Code name
siteName
Type: SystemString
Site name
parentId
Type: SystemInt32
Object parent ID
groupId
Type: SystemInt32
Group ID
defaultValue
Type: SystemInt32
Value to return in case record not found

Return Value

Type: Int32
See Also