ContentControl.DateDisplayFormat 属性

定义

返回或设置日期的显示格式。Returns or sets the format in which dates are displayed. 读/写。Read/write.

public:
 property System::String ^ DateDisplayFormat { System::String ^ get(); void set(System::String ^ value); };
public string DateDisplayFormat { get; set; }
member this.DateDisplayFormat : string with get, set
Public Property DateDisplayFormat As String

属性值

String

StringString

注解

默认格式是在 Microsoft Office Word 中的用户系统上指定的格式设置,通常取决于 Microsoft Windows 中的位置设置。The default format is the format setting specified in Microsoft Office Word on the users' system, which usually depends on the location setting in Microsoft Windows. 例如,日期为英语 (美国) 的默认格式是"mm/dd/yyyy"。For example, the default format of dates for English (U.S.) is "mm/dd/yyyy". 使用 DateDisplayFormat 属性可指定不同的日期格式。Use the DateDisplayFormat property to specify a different date format.

适用于