共用方式為


DateOptions.DateSeparator Property

Gets the character or text that separates the components of date; that is, the month, day, and year.

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 DateSeparator As String
    Get
'Usage
Dim instance As DateOptions
Dim value As String

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

Property Value

Type: System.String
The character or text to separate the component of date.

Remarks

The default value is “/”.

See Also

Reference

DateOptions Class

DateOptions Members

Microsoft.SharePoint.Utilities Namespace