Udostępnij za pośrednictwem


AutomationElementIdentifiers.CultureProperty Property

Definition

Identifies the Culture property, which contains a locale identifier for the automation element (for example, 0x0409 for "en-US" or English (United States)).

public:
 static property AutomationProperty ^ CultureProperty { AutomationProperty ^ get(); };
static AutomationProperty CultureProperty();
public static AutomationProperty CultureProperty { get; }
var automationProperty = AutomationElementIdentifiers.cultureProperty;
Public Shared ReadOnly Property CultureProperty As AutomationProperty

Property Value

The culture property identifier.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Each locale has a unique identifier, a 32-bit value that consists of a language identifier and a sort order identifier. The locale identifier is a standard international numeric abbreviation and has the components necessary to uniquely identify one of the installed operating system-defined locales. For more information, see Language Identifier Constants and Strings.

This property may exist on a per-control basis, but typically is only available on an application level.

Applies to