Share via


LanguageDesignation Property

Returns the abbreviated name of the designated language of the system software. Read-only String.

expression.LanguageDesignation()

*expression   * Required. An expression that returns a System object.

Remarks

Using the two-letter language abbreviation from the ISO Standard 639 and adding a third letter, such as "u" for the United States, creates the three-letter abbreviation.

You can also get the two-letter language abbreviation with GetLocaleInfo() by specifying LOCALE_SABBREVLANGNAME as the LCType. The abbreviated name "enu" is returned for the English (U.S.) language and is the same abbreviation that is returned with the LanguageDesignation property.

Example

This example displays the abbreviated name of the designated language of the system software.

myLang = System.LanguageDesignation

Applies to | System Object