Delen via


DatePickerContentControl.DateStorageFormat Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property DateStorageFormat As WdContentControlDateStorageFormat
'Usage
Dim instance As DatePickerContentControl 
Dim value As WdContentControlDateStorageFormat 

value = instance.DateStorageFormat

instance.DateStorageFormat = value
[BrowsableAttribute(false)]
public WdContentControlDateStorageFormat DateStorageFormat { get; set; }
[BrowsableAttribute(false)]
public:
property WdContentControlDateStorageFormat DateStorageFormat {
    WdContentControlDateStorageFormat get ();
    void set (WdContentControlDateStorageFormat value);
}
public function get DateStorageFormat () : WdContentControlDateStorageFormat 
public function set DateStorageFormat (value : WdContentControlDateStorageFormat)

Property Value

Type: 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

See Also

Reference

DatePickerContentControl Class

DatePickerContentControl Members

Microsoft.Office.Tools.Word Namespace

Other Resources

Content Controls

Custom XML Parts Overview