Share via


DateTimeFormatter.Clock 属性

定义

获取设置时间格式时使用的时钟。

public:
 property Platform::String ^ Clock { Platform::String ^ get(); };
winrt::hstring Clock();
public string Clock { get; }
var string = dateTimeFormatter.clock;
Public ReadOnly Property Clock As String

属性值

String

Platform::String

winrt::hstring

使用的时钟。

适用于