共用方式為


DatePickerContentControl.DateDisplayLocale Property

Definition

Gets or sets the language format of the date that is displayed in the DatePickerContentControl.

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

Property Value

One of the WdLanguageID values.

Remarks

The default value of the DateDisplayLocale property depends on the editing language specified in Microsoft Office Word. For example, the default language format for English (United States) is wdEnglishUS.

Applies to