MLCBaseGetDocumentLanguage Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns the language of the an MLC documents.

Namespace: ContentStudio.Site.ActiveScripting
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected string GetDocumentLanguage(
	int documentId
)

Parameters

documentId
Type: SystemInt32
The document ID to investigate

Return Value

Type: String
The language code of the document
Exceptions

ExceptionCondition
CSExceptionThe document is not an MLC member document
See Also

Reference