共用方式為


SimpleDate constructor (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 _
)
'用途
Dim year As Integer
Dim month As Integer
Dim day As Integer

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

參數

  • year
    Type: System.Int32

    表示一年的 32 位元整數。

  • month
    Type: System.Int32

    32 位元整數,代表月份。

請參閱

參照

SimpleDate structure

SimpleDate members

SimpleDate overload

Microsoft.SharePoint.Utilities namespace