_XDocument4.Language 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 or sets a Microsoft InfoPath form's default language code.
public:
property System::String ^ Language { System::String ^ get(); void set(System::String ^ value); };
public string Language { get; set; }
member this.Language : string with get, set
Public Property Language As String
Property Value
Returns String.
Implements
Examples
In the following example, the Language property of the XDocument object is used to display a form's current language setting in a message box:
thisXDocument.UI.Alert("The current language is: " + thisXDocument.<span class="label">Language</span>);
Remarks
The language settings for an InfoPath form can also be accessed using the Microsoft.Office.Interop.InfoPath._Application4.LanguageSettings property.