共用方式為


hour 屬性

Gets a value that specifies the current hour.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Property hour As Short
    Get
    Set
'用途
Dim instance As SYSTEMTIME
Dim value As Short

value = instance.hour

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

屬性值

型別:System. . :: . .Int16
A short value that represents the current hour.