SPIntlCal.DaysInLocalMonth 方法 (SPCalendarType, SimpleDate)

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

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

语法

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

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

参数

返回值

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

另请参阅

引用

SPIntlCal 类

SPIntlCal 成员

DaysInLocalMonth 重载

Microsoft.SharePoint.Utilities 命名空间