C++
C#
VB
JScript
All

Classes ILanguage­Definitions


A list of all of the languages that you can use in an MDM Document. The LanguageDefinitions object is not attached to a Document, but you can use the LanguageDefinitions object to check the validity of a language before adding it to a Document.

Remarks

MDM gets the language definitions from mlang.dll, which comes with Internet Explorer 5.0 and later. For an approximate list of the languages supported and their three-character codes, see http://www.microsoft.com/globaldev/reference/winxp/langtla.mspx.

You can not use a For Each statement to loop through this collection. Use the Count property instead, as shown in the following mrScriptBasic example:

Dim MyLanguageDefinitions, i

Set MyLanguageDefinitions = CreateObject("MDM.LanguageDefinitions")

For i = 0 To MyLanguageDefinitions.Count - 1
    Debug.Log(MyLanguageDefinitions[i])
Next

Groups

Read-only Properties
IDL Property Count

Returns the number of languages available.

IDL Property IsInstalled

Returns True if the language is supported and installed on this computer.

IDL Property IsValid

Returns True if the ShortName string matches one of the languages defined on the computer.

IDL Property Item

Use to return information about any of the languages that are defined. Item is the default property of the LanguageDefinitions object.

Interface ID

The ID of the ILanguageDefinitions interface is 0A57196E-6E6E-48d3-84D5-46123F48C3EF.