SPIntlCal.IsCalendarSupported 方法
返回一个布尔值,该值指示国际日历是否支持指定的日历类型。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function IsCalendarSupported ( _
calType As SPCalendarType _
) As Boolean
用法
Dim calType As SPCalendarType
Dim returnValue As Boolean
returnValue = SPIntlCal.IsCalendarSupported(calType)
public static bool IsCalendarSupported(
SPCalendarType calType
)
参数
calType
类型:Microsoft.SharePoint.SPCalendarTypeSPCalendarType对象,该对象表示的日历的类型。
返回值
类型:System.Boolean
true如果受支持的日历类型。否则为false。