SPMobileUtility.GetDateOptions method
Returns the date options of the mobile Web application that are associated with the specified context and calendar type.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetDateOptions ( _
context As SPContext, _
calendar As SPCalendarType _
) As DateOptions
'Usage
Dim context As SPContext
Dim calendar As SPCalendarType
Dim returnValue As DateOptions
returnValue = SPMobileUtility.GetDateOptions(context, _
calendar)
public static DateOptions GetDateOptions(
SPContext context,
SPCalendarType calendar
)
Parameters
context
Type: Microsoft.SharePoint.SPContextAn SPContext object that represents context information for the mobile Web application.
calendar
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.
Return value
Type: Microsoft.SharePoint.Utilities.DateOptions
A DateOptions object that provides access to properties and methods for viewing and setting date options.