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: 12.0.0
Syntaxprotected virtual BannerCategoryInfo GetBannerCategoryInfoFromSiteOrGlobalInternal(
string bannerCategoryCodeName,
int siteId
)
Parameters
- bannerCategoryCodeName
- Type: SystemString
Code name. - siteId
- Type: SystemInt32
Site to be searched.
Return Value
Type:
BannerCategoryInfo
See Also