SPIntlCal.MonthsInLocalYear 方法

返回指定日期的指定的日历类型中的年份中的月数。

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

语法

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

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

参数

返回值

类型:System.Int32
一个整数值,表示的年份中的月数。

另请参阅

引用

SPIntlCal 类

SPIntlCal 成员

Microsoft.SharePoint.Utilities 命名空间