SPIntlCal.IsLocalDateValid 方法 (SPCalendarType, SimpleDate)

返回一个布尔值,该值指示指定的日历类型是否支持指定的日期。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared Function IsLocalDateValid ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate _
) As Boolean
用法
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Boolean

returnValue = SPIntlCal.IsLocalDateValid(calType, _
    di)
public static bool IsLocalDateValid(
    SPCalendarType calType,
    ref SimpleDate di
)

参数

返回值

类型:System.Boolean
true如果受支持的日期 ;否则为false。

另请参阅

引用

SPIntlCal 类

SPIntlCal 成员

IsLocalDateValid 重载

Microsoft.SharePoint.Utilities 命名空间