Share via


SPSystemTime constructor

Initializes a new instance of the SPSystemTime structure.

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

Syntax

'Declaration
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 _
)
'Usage
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
)

Parameters

  • iYear
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the year.

  • iMonth
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the month.

  • iDayOfWeek
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the day of the week.

  • iDay
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the day.

  • iHour
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the hour.

  • iMinute
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the minute.

  • iSecond
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the second.

  • iMilliseconds
    Type: System.UInt16

    An unsigned 16-bit integer that specifies the milliseconds.

See also

Reference

SPSystemTime structure

SPSystemTime members

Microsoft.SharePoint namespace