BannerCategoryInfoProviderGetBannerCategoryInfoFromSiteOrGlobalInternal Method |
Gets banner category info with the specified name. First, banner categories assigned to the
site specified by siteId are searched and then global banner categories.
If there is no banner category with this name on specified site or global, null is returned.
Namespace: CMS.BannerManagementAssembly: CMS.BannerManagement (in CMS.BannerManagement.dll) Version: 9.0.0
Syntax protected virtual BannerCategoryInfo GetBannerCategoryInfoFromSiteOrGlobalInternal(
string bannerCategoryCodeName,
int siteId
)
Parameters
- bannerCategoryCodeName
- Type: SystemString
Code name. - siteId
- Type: SystemInt32
Site to be searched.
Return Value
Type:
BannerCategoryInfoSee Also