SPRegionalSettings.Time24 property
取得或設定布林值,指定是否使用 24 小時制表示一天的時間。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Time24 As Boolean
Get
Set
'用途
Dim instance As SPRegionalSettings
Dim value As Boolean
value = instance.Time24
instance.Time24 = value
public bool Time24 { get; set; }
Property value
Type: System.Boolean
true如果一天中的時數表示以 24 小時制格式 ;否則,請false顯示 12 小時 AM/PM 格式。