共用方式為


dayOfWeek 屬性

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

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

語法

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

value = instance.dayOfWeek

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

屬性值

型別:System. . :: . .Int16
A short value that represents the current day of the week.

備註

Sunday = 0, Monday = 1, and so on.