共用方式為


DateOptions.TimePattern12Hour Property

Gets the current 12-hour time format pattern.

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

Syntax

'Declaration
Public ReadOnly Property TimePattern12Hour As String
    Get
'Usage
Dim instance As DateOptions
Dim value As String

value = instance.TimePattern12Hour
public string TimePattern12Hour { get; }

Property Value

Type: System.String
A string that contains the format pattern.

See Also

Reference

DateOptions Class

DateOptions Members

Microsoft.SharePoint.Utilities Namespace