共用方式為


DateTimeGroupingValues Enum

Definition

Date Time Grouping

public enum DateTimeGroupingValues
public readonly struct DateTimeGroupingValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Spreadsheet.DateTimeGroupingValues>, IEquatable<DocumentFormat.OpenXml.Spreadsheet.DateTimeGroupingValues>
type DateTimeGroupingValues = 
type DateTimeGroupingValues = struct
    interface IEnumValue
    interface IEnumValueFactory<DateTimeGroupingValues>
Public Enum DateTimeGroupingValues
Public Structure DateTimeGroupingValues
Implements IEnumValue, IEnumValueFactory(Of DateTimeGroupingValues), IEquatable(Of DateTimeGroupingValues)
Inheritance
DateTimeGroupingValues
Inheritance
DateTimeGroupingValues

Fields

Name Value Description
Year 0

Group by Year.

When the item is serialized out as xml, its value is "year".

Month 1

Month.

When the item is serialized out as xml, its value is "month".

Day 2

Day.

When the item is serialized out as xml, its value is "day".

Hour 3

Group by Hour.

When the item is serialized out as xml, its value is "hour".

Minute 4

Group by Minute.

When the item is serialized out as xml, its value is "minute".

Second 5

Second.

When the item is serialized out as xml, its value is "second".

DateTimeGroupingValues(String)

Creates a new DateTimeGroupingValues enum instance

Day

Day.

When the item is serialized out as xml, its value is "day".

Equality(DateTimeGroupingValues, DateTimeGroupingValues)
Equals(DateTimeGroupingValues)
Equals(Object)
GetHashCode()
Hour

Group by Hour.

When the item is serialized out as xml, its value is "hour".

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<DateTimeGroupingValues>.Create(String)
Inequality(DateTimeGroupingValues, DateTimeGroupingValues)
Minute

Group by Minute.

When the item is serialized out as xml, its value is "minute".

Month

Month.

When the item is serialized out as xml, its value is "month".

Second

Second.

When the item is serialized out as xml, its value is "second".

ToString()
Year

Group by Year.

When the item is serialized out as xml, its value is "year".

Applies to