Click or drag to resize
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.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax
C#
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: Boolean
true if is cultureCode is allowed; otherwise, false.
See Also