Xojo.Core.Locale.Identifier

From Xojo Documentation

Revision as of 17:23, 11 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Text )
TextValue = aXojo.Core.Locale.Identifier

Supported for all project types and targets.

This is the locale's identifier. The identifier may not exactly match the identifier passed in via the constructor due to conversions (e.g. 'en_US' could become 'en-US').

Sample Code

Get the locale's identifier:

Var locale As New Xojo.Core.Locale("en-US")

Var id As Text
id = locale.Identifier