Freigeben über


DateGroupItem-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.DateGroupItem

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

Syntax

'Declaration
Public Class DateGroupItem _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As DateGroupItem
public class DateGroupItem : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

18.3.2.4 dateGroupItem (Date Grouping)

This collection is used to express a group of dates or times which are used in an AutoFilter criteria. [Note: See parent element for an example. end note] Values are always written in the calendar type of the first date encountered in the filter range, so that all subsequent dates, even when formatted or represented by other calendar types, can be correctly compared for the purposes of filtering.

Parent Elements

filters (§18.3.2.8)

Attributes

Description

dateTimeGrouping (Date Time Grouping)

Grouping level.

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

day (Day)

Day (1-31)

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

hour (Hour)

Hour (0-23)

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

minute (Minute)

Minute (0-59)

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

month (Month)

Month (1-12)

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

second (Second)

Second (0-59)

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

year (Year)

Year (4 digits)

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

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

DateGroupItem-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace