Share via


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)

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