Clock​Identifiers Clock​Identifiers Clock​Identifiers Class

Definition

Contains the clock identifiers for the supported clocks, as static properties.

public : static class ClockIdentifierspublic static class ClockIdentifiersPublic Static Class ClockIdentifiers
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The identifiers returned by properties on this class are suitable for use anywhere a clock identifier is required.

Properties

TwelveHour TwelveHour TwelveHour

Gets the identifier for a 12-hour clock.

public : static PlatForm::String TwelveHour { get; }public static string TwelveHour { get; }Public Static ReadOnly Property TwelveHour As string
Value
PlatForm::String string string

The string "12HourClock", which is the identifier for a 12-hour clock.

Attributes

TwentyFourHour TwentyFourHour TwentyFourHour

Gets the identifier for a 24-hour clock.

public : static PlatForm::String TwentyFourHour { get; }public static string TwentyFourHour { get; }Public Static ReadOnly Property TwentyFourHour As string
Value
PlatForm::String string string

The string "24HourClock", which is the identifier for a 24-hour clock.

Attributes

See Also