DatePickerContentControl.DateStorageFormat Property
Gets or sets the format in which the DatePickerContentControl saves dates in a custom XML part.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Property DateStorageFormat As WdContentControlDateStorageFormat
WdContentControlDateStorageFormat DateStorageFormat { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdContentControlDateStorageFormat
One of the WdContentControlDateStorageFormat values. The default is wdContentControlDateStorageDateTime.
Remarks
If the DatePickerContentControl is bound to a custom XML part in the document, the DateStorageFormat property specifies how the control saves dates in XML. You can persist dates as an XML schema date (xsd:date), an XML schema date/time (xsd:dateTime), or as text.
For more information about binding content controls to custom XML parts, see Content Controls and Custom XML Parts Overview.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DatePickerContentControl Interface
Microsoft.Office.Tools.Word Namespace