共用方式為


DatePickerContentControl.DateDisplayLocale Property

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property DateDisplayLocale As WdLanguageID
WdLanguageID DateDisplayLocale { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdLanguageID
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.

.NET Framework Security

See Also

Reference

DatePickerContentControl Interface

Microsoft.Office.Tools.Word Namespace