MonthCalendar.AddMonthlyBoldedDate(DateTime) 方法

定義

以每月為原則將粗體顯示的某天加入月曆中。

public:
 void AddMonthlyBoldedDate(DateTime date);
public void AddMonthlyBoldedDate (DateTime date);
member this.AddMonthlyBoldedDate : DateTime -> unit
Public Sub AddMonthlyBoldedDate (date As DateTime)

參數

date
DateTime

粗體顯示的日期。

備註

您之後必須呼叫 UpdateBoldedDates 方法來更新顯示器。

若要在單一指派中新增多個日期,您可以將物件的陣列 DateTime 指派給 MonthlyBoldedDates 屬性。

適用於

另請參閱