Share via


SimpleDate constructor (Int32, Int32, Int32)

Initializes a new instance of the SimpleDate class using the specified year, month and day values.

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

Syntax

'Declaration
Public Sub New ( _
    year As Integer, _
    month As Integer, _
    day As Integer _
)
'Usage
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
)

Parameters

  • year
    Type: System.Int32

    A 32-bit integer representing a year.

  • month
    Type: System.Int32

    A 32-bit integer representing a month.

  • day
    Type: System.Int32

    A 32-bit integer representing a day.

See also

Reference

SimpleDate structure

SimpleDate members

SimpleDate overload

Microsoft.SharePoint.Utilities namespace