共用方式為


DateOptions.GetDayChar Method (Int32, SPCalendarType)

Returns a string representation of the specified calendar day and uses the specified calendar type.

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

Syntax

'Declaration
Public Function GetDayChar ( _
    day As Integer, _
    calendartype As SPCalendarType _
) As String
'Usage
Dim instance As DateOptions
Dim day As Integer
Dim calendartype As SPCalendarType
Dim returnValue As String

returnValue = instance.GetDayChar(day, _
    calendartype)
public string GetDayChar(
    int day,
    SPCalendarType calendartype
)

Parameters

  • day
    Type: System.Int32

    A 32-bit integer that represents a calendar day.

Return Value

Type: System.String
A string representation of the calendar day.

See Also

Reference

DateOptions Class

DateOptions Members

GetDayChar Overload

Microsoft.SharePoint.Utilities Namespace