共用方式為


HeaderFooter.DateTime Property

Definition

Date/Time Placeholder

Represents the following attribute in the schema: dt

[DocumentFormat.OpenXml.SchemaAttr(0, "dt")]
public DocumentFormat.OpenXml.BooleanValue DateTime { get; set; }
public DocumentFormat.OpenXml.BooleanValue DateTime { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "dt")]
public DocumentFormat.OpenXml.BooleanValue? DateTime { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("dt")]
public DocumentFormat.OpenXml.BooleanValue? DateTime { get; set; }
public DocumentFormat.OpenXml.BooleanValue? DateTime { get; set; }
member this.DateTime : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "dt")>]
member this.DateTime : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("dt")>]
member this.DateTime : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property DateTime As BooleanValue

Property Value

Returns BooleanValue.

Attributes

Remarks

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

Specifies whether the Date/Time placeholder is enabled for this master. If this attribute is not specified, a value of true should be assumed by the generating application.

The possible values for this attribute are defined by the XML Schema boolean datatype.

Applies to