Share via


SimpleDate.Year property

Gets or sets the integer year value of the date.

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

Syntax

'Declaration
Public Property Year As Integer
    Get
    Set
'Usage
Dim instance As SimpleDate
Dim value As Integer

value = instance.Year

instance.Year = value
public int Year { get; set; }

Property value

Type: System.Int32

See also

Reference

SimpleDate structure

SimpleDate members

Microsoft.SharePoint.Utilities namespace