Click or drag to resize
LanguageCode Class
Language code.
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UILanguageCode

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static class LanguageCode

The LanguageCode type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberASPNET
ASP.NET with macro support.
Public fieldStatic memberCMSSharp
C# with CMS extensions.
Public fieldStatic memberCSharp
C#.
Public fieldStatic memberCSS
CSS.
Public fieldStatic memberHTML
HTML (XHTML).
Public fieldStatic memberHTMLMixed
Mixed mode that allows HTML, CSS and JavaScript in the same text segment.
Public fieldStatic memberJavaScript
JavaScript.
Public fieldStatic memberLESS
LESS.
Public fieldStatic memberSQL
SQL (T-SQL dialect).
Public fieldStatic memberText
Plaintext mode, no highlighting & formatting is provided.
Public fieldStatic memberXML
XML.
Top
Methods
  NameDescription
Public methodStatic memberFromEnum
Returns the language code from the enumeration value.
Public methodStatic memberGetLanguageEnumFromString
Gets the language enumeration from the string value. Supports only languages
Public methodStatic memberToEnum
Returns the enumeration representation of the language.
Top
See Also