Share via


DateFormatValues 枚举

定义

定义 DateFormatValues 枚举。

public enum DateFormatValues
public readonly struct DateFormatValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Wordprocessing.DateFormatValues>, IEquatable<DocumentFormat.OpenXml.Wordprocessing.DateFormatValues>
type DateFormatValues = 
type DateFormatValues = struct
    interface IEnumValue
    interface IEnumValueFactory<DateFormatValues>
Public Enum DateFormatValues
Public Structure DateFormatValues
Implements IEnumValue, IEnumValueFactory(Of DateFormatValues), IEquatable(Of DateFormatValues)
继承
DateFormatValues
继承
DateFormatValues

字段

DateFormatValues(String)

创建新的 DateFormatValues 枚举实例

Date 1

XML 架构日期格式。

将项序列化为 xml 时,其值为“date”。

Date

XML 架构日期格式。

将项序列化为 xml 时,其值为“date”。

DateTime 2

XML 架构 DateTime 格式。

将项序列化为 xml 时,其值为“dateTime”。

DateTime

XML 架构 DateTime 格式。

将项序列化为 xml 时,其值为“dateTime”。

Equals(DateFormatValues)
Equals(Object)
GetHashCode()
Equality(DateFormatValues, DateFormatValues)
Inequality(DateFormatValues, DateFormatValues)
Text 0

与显示相同。

当项序列化为 xml 时,其值为“text”。

Text

与显示相同。

当项序列化为 xml 时,其值为“text”。

ToString()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<DateFormatValues>.Create(String)

适用于