Share via


ClockIdentifiers Class

Definition

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

public ref class ClockIdentifiers abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ClockIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class ClockIdentifiers
Public Class ClockIdentifiers
Inheritance
Object Platform::Object IInspectable ClockIdentifiers
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Properties

TwelveHour

Gets the identifier for a 12-hour clock.

TwentyFourHour

Gets the identifier for a 24-hour clock.

Applies to

See also