共用方式為


SimpleDate constructor (Int32, Int32, Int32, Int32)

初始化使用指定的年、 月、 日和紀元值的SimpleDate類別的新執行個體。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    year As Integer, _
    month As Integer, _
    day As Integer, _
    era As Integer _
)
'用途
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim era As Integer

Dim instance As New SimpleDate(year, month, _
    day, era)
public SimpleDate(
    int year,
    int month,
    int day,
    int era
)

參數

  • year
    Type: System.Int32

    表示一年的 32 位元整數。

  • month
    Type: System.Int32

    32 位元整數,代表月份。

請參閱

參照

SimpleDate structure

SimpleDate members

SimpleDate overload

Microsoft.SharePoint.Utilities namespace