BaseObjectSelectorGetID Method |
Converts object name to ID on the specific site
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
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