Property Locale
Locale
Gets or sets the default locale when executing Arcade expressions.
Declaration
public CultureInfo? Locale { get; set; }
Property Value
| Type | Description |
|---|---|
| CultureInfo | Sets the default locale when executing Arcade expressions. |
Remarks
Uses CLDR/BCP-47 language tag format as provided by Name. If no locale is provided, the system locale is used by default. If an Arcade function accepts a locale override as a parameter, that value takes precedence over this property.
Note that invalid locale values will be ignored and the system locale will be used instead.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300.2 |
| .NET Windows | 300.2 |
| .NET Android | 300.2 |
| .NET iOS | 300.2 |