次の方法で共有


SPRegionalSettings.GetDefaultTime24 method

Returns a value that specifies whether the 24-hour time format is the default format for representing time on the site for the specified locale ID.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetDefaultTime24 ( _
    lcid As UInteger _
) As Boolean
'Usage
Dim instance As SPRegionalSettings
Dim lcid As UInteger
Dim returnValue As Boolean

returnValue = instance.GetDefaultTime24(lcid)
public bool GetDefaultTime24(
    uint lcid
)

Parameters

  • lcid
    Type: System.UInt32

    An unsigned 32-bit integer that specifies the locale ID.

Return value

Type: System.Boolean
true if the 24-hour time format is the default format; otherwise, false.

See also

Reference

SPRegionalSettings class

SPRegionalSettings members

Microsoft.SharePoint namespace