다음을 통해 공유


NumberingChange.Date Property

Definition

date

Represents the following attribute in the schema: w:date

[DocumentFormat.OpenXml.SchemaAttr(23, "date")]
public DocumentFormat.OpenXml.DateTimeValue Date { get; set; }
public DocumentFormat.OpenXml.DateTimeValue Date { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "date")]
public DocumentFormat.OpenXml.DateTimeValue? Date { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:date")]
public DocumentFormat.OpenXml.DateTimeValue? Date { get; set; }
public DocumentFormat.OpenXml.DateTimeValue? Date { get; set; }
member this.Date : DocumentFormat.OpenXml.DateTimeValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "date")>]
member this.Date : DocumentFormat.OpenXml.DateTimeValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:date")>]
member this.Date : DocumentFormat.OpenXml.DateTimeValue with get, set
Public Property Date As DateTimeValue

Property Value

Returns DateTimeValue.

Attributes

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 the 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.

Applies to