SPIntlCal.DaysInLocalMonth 方法 (SPCalendarType, SimpleDate, Int32)

返回在国际日历中指定的日期中的月份中的天数。

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

语法

声明
Public Shared Function DaysInLocalMonth ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate, _
    iAdvance As Integer _
) As Integer
用法
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim iAdvance As Integer
Dim returnValue As Integer

returnValue = SPIntlCal.DaysInLocalMonth(calType, _
    di, iAdvance)
public static int DaysInLocalMonth(
    SPCalendarType calType,
    ref SimpleDate di,
    int iAdvance
)

参数

  • iAdvance
    类型:System.Int32

    要使用阿拉伯回历日历日期的步进值。

返回值

类型:System.Int32
一个 32 位整数表示的月份中的天数。

另请参阅

引用

SPIntlCal 类

SPIntlCal 成员

DaysInLocalMonth 重载

Microsoft.SharePoint.Utilities 命名空间