_Application2.LanguageSettings Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to the Microsoft Office LanguageSettings.
public:
property System::Object ^ LanguageSettings { System::Object ^ get(); };
public object LanguageSettings { get; }
member this.LanguageSettings : obj
Public ReadOnly Property LanguageSettings As Object
Property Value
Implements
Examples
The following example uses the LanguageID property of the LanguageSettings object to return the LCID value (a four-digit number) for the language that is currently being used for the Office help system:
LanguageSettings languageSettings = (LanguageSettings) thisApplication.LanguageSettings;
int lcid = languageSettings.get_LanguageID(MsoAppLanguageID.msoLanguageIDHelp);
Note: The above example requires the Microsoft.Office.Core namespace and a reference to the Microsoft Office 11.0 Object Library.
Important: The above example requires the form have a Full Trust Security Level.
The following example uses the LanguageID property of the LanguageSettings object to return the LCID value (a four-digit number) for the language that is currently being used for the Office help system:
LanguageSettings languageSettings = (LanguageSettings) thisApplication.LanguageSettings;
int lcid = languageSettings.get_LanguageID(MsoAppLanguageID.msoLanguageIDHelp);
Note: The above example requires the Microsoft.Office.Core namespace and a reference to the Microsoft Office 11.0 Object Library.
Important: The above example requires the form have a Full Trust Security Level.
Remarks
After you establish a reference to the LanguageSettings property, you can access all the properties and methods of the object.
Important: This member can be accessed without restrictions.