共用方式為


ContentControl.DateCalendarType 屬性

定義

取得或設定在 ContentControl 中顯示的行事曆類型,此類型代表日期選擇器。

public:
 property Microsoft::Office::Interop::Word::WdCalendarType DateCalendarType { Microsoft::Office::Interop::Word::WdCalendarType get(); void set(Microsoft::Office::Interop::Word::WdCalendarType value); };
public Microsoft.Office.Interop.Word.WdCalendarType DateCalendarType { get; set; }
member this.DateCalendarType : Microsoft.Office.Interop.Word.WdCalendarType with get, set
Public Property DateCalendarType As WdCalendarType

屬性值

在控制項中顯示的行事曆類型。 預設值要視作業系統目前的地區設定而定。

例外狀況

屬性Type沒有 Microsoft.Office.Interop.Word 值。WdContentControlType.wdContentControlDate。

備註

只有當 表示日期選擇器時 ContentControl ,才能使用這個屬性。

默認行事曆類型取決於作業系統的地區設定。 例如,地區設定英文 (美國) 的預設行事曆類型為 wdCalendarWestern

適用於