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.Int32A 32-bit integer that represents a calendar day.
calendartype
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents the calendar type.
Return Value
Type: System.String
A string representation of the calendar day.