Click or drag to resize
ProviderHelperGetId Method
Gets the ID by the given code name

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static int GetId(
	string objectType,
	string codeName
)

Parameters

objectType
Type: SystemString
Object type
codeName
Type: SystemString
Object code name

Return Value

Type: Int32
See Also