TranslationHelperGetID Method (TranslationParameters, Int32) |
Returns the object ID for specified record.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax public int GetID(
TranslationParameters parameters,
int defaultValue
)
Parameters
- parameters
- Type: CMS.DataEngineTranslationParameters
Parameters used to select record - defaultValue
- Type: SystemInt32
Value to return in case record not found
Return Value
Type:
Int32Remarks
Object's
Guid has priority over code name. However, if there is
Empty provided as
Guid, only
CodeName will be used to identify object.
See Also