SPIntlCal.GetLocalCalendar 方法
返回一个ISPCalendar对象,用于指定的日历类型。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function GetLocalCalendar ( _
calType As SPCalendarType _
) As ISPCalendar
用法
Dim calType As SPCalendarType
Dim returnValue As ISPCalendar
returnValue = SPIntlCal.GetLocalCalendar(calType)
public static ISPCalendar GetLocalCalendar(
SPCalendarType calType
)
参数
calType
类型:Microsoft.SharePoint.SPCalendarTypeSPCalendarType对象,该对象表示的日历的类型。
返回值
类型:Microsoft.SharePoint.Utilities.ISPCalendar
日历类型为一个ISPCalendar对象。