SPIntlCal.IsSupportedLocalMonth 方法

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

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

语法

声明
Public Shared Function IsSupportedLocalMonth ( _
    calType As SPCalendarType, _
    year As Integer, _
    month As Integer _
) As Boolean
用法
Dim calType As SPCalendarType
Dim year As Integer
Dim month As Integer
Dim returnValue As Boolean

returnValue = SPIntlCal.IsSupportedLocalMonth(calType, _
    year, month)
public static bool IsSupportedLocalMonth(
    SPCalendarType calType,
    int year,
    int month
)

参数

  • year
    类型:System.Int32

    一个 32 位整数,表示一年。

  • month
    类型:System.Int32

    一个 32 位整数表示要计算的月份。

返回值

类型:System.Boolean
true如果日历类型支持每月 ;否则为false。

另请参阅

引用

SPIntlCal 类

SPIntlCal 成员

Microsoft.SharePoint.Utilities 命名空间