共用方式為


DateOptions.Get12Hours Method

Returns the hour values used for a 12-hour clock.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Function Get12Hours As String()
'Usage
Dim instance As DateOptions
Dim returnValue As String()

returnValue = instance.Get12Hours()
public string[] Get12Hours()

Return Value

Type: []
A string array that contains the hour values; for example, "12","1","2","3","4","5","6","7","8","9","10","11","12","1","2","3","4","5","6","7","8","9","10","11".

See Also

Reference

DateOptions Class

DateOptions Members

Microsoft.SharePoint.Utilities Namespace