RC-WinTrans Object Model Help |
ProjectLanguages.Item
|
Returns the project language at the specified index.
Syntax: |
Item( Index as Variant ) As ProjectLanguage |
| Return: | ProjectLanguage |
| Parameters: |
Index The language code or the index number of the collection element. The index can be a numerical expression (a number from 1 to the value of the "Count" property) or a string.
|
| Example: | Dim Lang As ProjectLanguage
Dim Langs As ProjectLanguages
Set Langs = Application.ActiveProject.ProjectLanguages
Set Lang = Langs.Item("en-us")
|
See also: