FormTemplate.Locale property

Gets the locale of the form template.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public ReadOnly Property Locale As String
    Get
'Usage
Dim instance As FormTemplate
Dim value As String

value = instance.Locale
public string Locale { get; }

Property value

Type: System.String
A string representing the form template locale.

Remarks

The Locale property returns a language code, such as en-us or ja-jp. The value corresponds to the formLocale attribute of the server element in the manifest.xsf file. The XPath of the server element is xsf:extensions/xsf:extension/xsf2:solutionDefinition/xsf2:server/.

See also

Reference

FormTemplate class

FormTemplate members

Microsoft.Office.InfoPath.Server.Administration namespace