DateTimeItem Class

Office 2010

Date Time.When the object is serialized out as xml, its qualified name is x:d.

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

[ChildElementInfoAttribute(typeof(MemberPropertyIndex))]
public class DateTimeItem : OpenXmlCompositeElement

The following table lists the possible child types:

  • MemberPropertyIndex <x:x>


[ISO/IEC 29500-1 1st Edition]

18.10.1.21 d (Date Time)

Represents a date-time value in the PivotTable.

Parent Elements

groupItems (§18.10.1.38); r (§18.10.1.77); sharedItems (§18.10.1.90)

Child Elements

Subclause

x (Member Property Index)

§18.10.1.96

Attributes

Description

c (Caption)

Specifies the caption for the item.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

cp (Member Property Count)

Specifies the number of member property values.

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

f (Calculated Item Value)

Specifies a boolean value that indicates whether this is a calculated item value.

A value of 1 or true indicates this is a calculated item value.

A value of 0 or false indicates this is not a calculated item value.

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

u (Unused Item)

Specifies a boolean value that indicates whether this is an unused item. The application marks an item as unused when an item is deleted from the data source. The item and associated metadata are retained in the cache until the threshold for unused items specified in missingItemsLimit is reached.

A value of 1 or true indicates this is an unused item.

A value of 0 or false indicates this item is used.

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

v (Value)

Specifies the value of the item.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_DateTime) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft