共用方式為


year 屬性

Gets a value that specifies the current day of the month.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.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.