CultureSiteInfoProviderIsCultureAllowed Method |
Checks if the culture is allowed on the site. Returns true if the culture is allowed.
Namespace: CMS.SiteProviderAssembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 8.2.23
Syntax public static bool IsCultureAllowed(
string culture,
string siteName
)
Parameters
- culture
- Type: SystemString
Culture to check - siteName
- Type: SystemString
Site name
Return Value
Type:
BooleanSee Also