DateOnly.Year Właściwość

Definicja

Pobiera składnik roku daty reprezentowanej przez to wystąpienie.

public:
 property int Year { int get(); };
public int Year { get; }
member this.Year : int
Public ReadOnly Property Year As Integer

Wartość właściwości

Int32

Liczba reprezentująca składnik roku daty.

Dotyczy