Determines whether the specified locale code is enabled.

Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public bool IsEnabled(
	ref string localeCode,
	int portalId
)
Visual Basic
Public Function IsEnabled ( 
	ByRef localeCode As String,
	portalId As Integer
) As Boolean

Parameters

localeCode
Type: System..::..String%
The locale code.
portalId
Type: System..::..Int32
The portal id.

Return Value

true if the specified locale code is enabled; otherwise, false.

Implements

ILocaleController..::..IsEnabled(String%, Int32)

See Also