CultureSiteInfoProviderIsCultureOnSite Method (String, String) |
Determines whether the specified culture is allowed on the specified site.
Ignores the case in the cultureCode comparison (both 'en-US' and 'en-us' are OK).
Namespace: CMS.SiteProviderAssembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax public static bool IsCultureOnSite(
string cultureCode,
string siteName
)
Parameters
- cultureCode
- Type: SystemString
Culture code to check. - siteName
- Type: SystemString
Site code name.
Return Value
Type:
Booleantrue if is
cultureCode is allowed; otherwise,
false.
See Also