LanguageDesignation Property

Microsoft Word Visual Basic

LanguageDesignation Property

       

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

expression.LanguageDesignation

expression   Required. An expression that returns a System object.

Example

This example displays "U.S. English" if the LanguageDesignation property returns "English (US)".

If System.LanguageDesignation = "English (US)" Then _
    MsgBox "U.S. English"