DateOnly.Month 屬性

定義

取得這個執行個體所表示日期的月份元件。

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

屬性值

Int32

數位,表示日期的月份元件。

適用於