IntlDate constructor (Int32, Int32, Int32, SPCalendarType)
初始化IntlDate類別的新執行個體,並使用指定的整數值的年、 月和日和指定的行事曆類型。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: System.Int3232 位元整數,表示一年。
month
Type: System.Int3232 位元整數,表示月份。
day
Type: System.Int3232 位元整數,表示一天。
calendarType
Type: Microsoft.SharePoint.SPCalendarTypeSPCalendarType物件,表示行事曆類型。