SPRegionalSettings.GetDefaultTime24 method
會傳回一個值,會指定 24 小時制時間格式是用來代表在網站上的時間,指定地區設定識別碼的預設格式
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetDefaultTime24 ( _
lcid As UInteger _
) As Boolean
'用途
Dim instance As SPRegionalSettings
Dim lcid As UInteger
Dim returnValue As Boolean
returnValue = instance.GetDefaultTime24(lcid)
public bool GetDefaultTime24(
uint lcid
)
參數
lcid
Type: System.UInt32帶正負號的 32 位元整數,指定地區設定識別碼。
傳回值
Type: System.Boolean
true如果 24 小時制格式是預設的格式 ;否則,請false。