SimpleDate.Year Property

Gets or sets the integer year value of the date.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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