Share via


SPSystemTime.Year property

Gets or sets the year.

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

Syntax

'Declaration
Public Property Year As UShort
    Get
    Set
'Usage
Dim instance As SPSystemTime
Dim value As UShort

value = instance.Year

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

Property value

Type: System.UInt16
An unsigned 16-bit integer that specifies the year.

See also

Reference

SPSystemTime structure

SPSystemTime members

Microsoft.SharePoint namespace