SPIntlCal.GetLocalCalendar method
Returns an ISPCalendar object for the specified calendar type.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.