Поделиться через


TrackChangeType.Date Property

date.Represents the attribte in schema: w:date

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "date")> _
Public Property Date As DateTimeValue
    Get
    Set
'Usage
Dim instance As TrackChangeType
Dim value As DateTimeValue

value = instance.Date

instance.Date = value
[SchemaAttrAttribute(, "date")]
public DateTimeValue Date { get; set; }

Property Value

Type: DocumentFormat.OpenXml.DateTimeValue
Returns DateTimeValue.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the date information for an annotation within a WordprocessingML document. The use of this information is outside of the scope of this Office Open XML standard.

If this attribute is omitted, then no date information shall be associated with the parent annotation type.

Consider a comment represented using the following WordprocessingML fragment:

<w:… w:id="1" w:date="2006-01-01T10:00:00">
  …
</w:…>

The date attribute specifies that the date of the current annotation is January 1, 2006 at 10:00 A.M., which may be used as desired.

The possible values for this attribute are defined by the ST_DateTime simple type.

See Also

Reference

TrackChangeType Class

TrackChangeType Members

DocumentFormat.OpenXml.Wordprocessing Namespace