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