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

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

Returns the sibling document to the specified document that has the language code specified.

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

protected int GetMLCDocumentSiblingByLanguageCode(
	int documentId,
	string languageCode
)

Parameters

documentId
Type: SystemInt32
The document to get a sibling for. this document must be an MLC member document.
languageCode
Type: SystemString
The sibling to find should have this language code

Return Value

Type: Int32
A document id
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in Content Studio.
See Also

Reference