BaseObjectSelectorGetID Method |
Converts object name to ID on the specific site
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax protected virtual int GetID(
string name,
string siteName
)
Parameters
- name
- Type: SystemString
Name of the object to find ID for. - siteName
- Type: SystemString
Name of the site.
Return Value
Type:
Int32See Also