IntlDate 构造函数 (Int32, Int32, Int32, SPCalendarType)

初始化IntlDate类的一个新实例,并使用指定的整数值的年、 月和日和指定的日历类型。

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

语法

声明
Public Sub New ( _
    year As Integer, _
    month As Integer, _
    day As Integer, _
    calendarType As SPCalendarType _
)
用法
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim calendarType As SPCalendarType

Dim instance As New IntlDate(year, month, _
    day, calendarType)
public IntlDate(
    int year,
    int month,
    int day,
    SPCalendarType calendarType
)

参数

  • year
    类型:System.Int32

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

  • month
    类型:System.Int32

    一个 32 位整数表示一个月。

  • day
    类型:System.Int32

    一个 32 位整数表示一天。

另请参阅

引用

IntlDate 类

IntlDate 成员

IntlDate 重载

Microsoft.SharePoint.Utilities 命名空间