共用方式為


SPSystemTime constructor

初始化SPSystemTime結構的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    iYear As UShort, _
    iMonth As UShort, _
    iDayOfWeek As UShort, _
    iDay As UShort, _
    iHour As UShort, _
    iMinute As UShort, _
    iSecond As UShort, _
    iMilliseconds As UShort _
)
'用途
Dim iYear As UShort
Dim iMonth As UShort
Dim iDayOfWeek As UShort
Dim iDay As UShort
Dim iHour As UShort
Dim iMinute As UShort
Dim iSecond As UShort
Dim iMilliseconds As UShort

Dim instance As New SPSystemTime(iYear, iMonth, _
    iDayOfWeek, iDay, iHour, iMinute, _
    iSecond, iMilliseconds)
public SPSystemTime(
    ushort iYear,
    ushort iMonth,
    ushort iDayOfWeek,
    ushort iDay,
    ushort iHour,
    ushort iMinute,
    ushort iSecond,
    ushort iMilliseconds
)

參數

  • iYear
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定的年份。

  • iMonth
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定的月份。

  • iDayOfWeek
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定的一週天數。

  • iDay
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定一天。

  • iHour
    Type: System.UInt16

    不帶正負號的 16 位元整數來指定小時。

  • iMinute
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定分鐘數。

  • iSecond
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定第二個。

  • iMilliseconds
    Type: System.UInt16

    不帶正負號的 16 位元整數,指定毫秒數。

請參閱

參照

SPSystemTime structure

SPSystemTime members

Microsoft.SharePoint namespace