Share via


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

Return value

Type: Microsoft.SharePoint.Utilities.DateOptions
A DateOptions object that provides access to properties and methods for viewing and setting date options.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace