ContentControl.DateDisplayFormat Property

Returns or sets the format in which dates are displayed. Read/write.

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

Syntax

'Declaration
Property DateDisplayFormat As String
    Get
    Set
'Usage
Dim instance As ContentControl
Dim value As String

value = instance.DateDisplayFormat

instance.DateDisplayFormat = value
string DateDisplayFormat { get; set; }

Property Value

Type: System.String
String

Remarks

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. For example, the default format of dates for English (U.S.) is "mm/dd/yyyy". Use the DateDisplayFormat property to specify a different date format.

See Also

Reference

ContentControl Interface

ContentControl Members

Microsoft.Office.Interop.Word Namespace