Share via


SPSystemTime.Year Property

Gets or sets the year.

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

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