Udostępnij za pośrednictwem


Właściwość SYSTEMTIME.year

Pobiera wartość określająca rok bieżący.

Przestrzeń nazw:  ReportService2010
Zestaw:  ReportService2010 (w ReportService2010.dll)

Składnia

'Deklaracja
Public Property year As Short
    Get
    Set
'Użycie
Dim instance As SYSTEMTIME
Dim value As Short

value = instance.year

instance.year = value
public short year { get; set; }
public:
property short year {
    short get ();
    void set (short value);
}
member year : int16 with get, set
function get year () : short
function set year (value : short)

Wartość właściwości

Typ: System.Int16
A krótki wartość, która reprezentuje bieżący rok.