Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: No
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.