Documentation Center

PslLanguages.Item

Item returns a language contained in the PslLanguages collection. The language can be specified by the index (1,...), the language ID or the language code. Item is the default method, so the name can be omitted.

Syntax

Expression.Item (Index as Variant) PslLanguage

Expression Required. Object of type PslLanguages

Index Variant, Required. Specifies the index (1, 2,...), the language code ("enu", "deu",...), or an object of type PslLanguage

Example

Dim lan As PslLanguages
Set lan = PSL.Projects(1).Languages("deu")