Поделиться через


Свойство year

Gets a value that specifies the current year.

Пространство имен:  ReportService2010
Сборка:  ReportService2010 (в ReportService2010.dll)

Синтаксис

'Декларация
Public Property year As Short
    Get
    Set
'Применение
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)

Значение свойства

Тип: System. . :: . .Int16
A short value that represents the current year.