Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Base Namespaces
CMS.Base.Web.UI
LanguageCode Class
LanguageCode Methods
FromEnum Method
GetLanguageEnumFromString Method
ToEnum Method
LanguageCode
FromEnum Method
Returns the language code from the enumeration value.
Namespace:
CMS.Base.Web.UI
Assembly:
CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
int
FromEnum
(
LanguageEnum
value
)
Parameters
value
Type:
CMS.Base.Web.UI
LanguageEnum
Value to convert
Return Value
Type:
Int32
See Also
Reference
LanguageCode Class
CMS.Base.Web.UI Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com