SPIntlCal.GetLocalCalendar Method
Returns an ISPCalendar object for the specified calendar type.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function GetLocalCalendar ( _
calType As SPCalendarType _
) As ISPCalendar
'Usage
Dim calType As SPCalendarType
Dim returnValue As ISPCalendar
returnValue = SPIntlCal.GetLocalCalendar(calType)
public static ISPCalendar GetLocalCalendar(
SPCalendarType calType
)
Parameters
calType
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.
Return Value
Type: Microsoft.SharePoint.Utilities.ISPCalendar
An ISPCalendar object for the calendar type.