Share via


XmlDataValues 枚举

定义

XML 数据类型

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

字段

XmlDataValues(String)

创建新的 XmlDataValues 枚举实例

AnyType 44

任何类型。

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

AnyType

任何类型。

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

AnyURI 34

任何 URI。

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

AnyURI

任何 URI。

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

Base64Binary 5

Base 64 编码的二进制文件。

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

Base64Binary

Base 64 编码的二进制文件。

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

Boolean 21

布尔。

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

Boolean

布尔。

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

Byte

字节。

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

Byte 3

字节。

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

Date 25

日期。

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

Date

日期。

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

DateTime 23

日期时间。

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

DateTime

日期时间。

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

Decimal 18

小数。

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

Decimal

小数。

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

Double

双。

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

Double 20

双。

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

Duration

持续时间。

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

Duration 24

持续时间。

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

Entities 40

实体。

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

Entities

实体。

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

Entity 39

实体。

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

Entity

实体。

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

Equals(Object)
Equals(XmlDataValues)
Float 19

浮动。

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

Float

浮动。

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

Gday

gDay。

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

Gday 29

gDay。

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

GetHashCode()
Gmonth 26

gMonth。

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

Gmonth

gMonth。

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

GMonthDay 30

gMonthDays。

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

GMonthDay

gMonthDays。

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

Gyear 27

gYear。

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

Gyear

gYear。

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

GYearMonth 28

gYearMonth。

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

GYearMonth

gYearMonth。

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

HexBinary

十六进制二进制。

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

HexBinary 6

十六进制二进制。

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

Id 36

Id。

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

Id

Id。

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

IdRef

IDREF。

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

IdRef 37

IDREF。

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

IdRefs

IDREFS。

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

IdRefs 38

IDREFS。

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

Int 12

整数。

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

Int

整数。

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

Integer

整数。

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

Integer 7

整数。

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

Language 35

语言。

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

Language

语言。

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

Long 14

长。

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

Long

长。

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

Name 31

名称。

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

Name

名称。

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

NCName 33

NCName。

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

NCName

NCName。

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

NegativeInteger 9

负整数。

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

NegativeInteger

负整数。

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

NMToken

NMTOKEN。

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

NMToken 42

NMTOKEN。

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

NMTokens 43

NMTOKENS。

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

NMTokens

NMTOKENS。

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

NonNegativeInteger

非负整数。

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

NonNegativeInteger 11

非负整数。

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

NonPositiveInteger

非正整数。

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

NonPositiveInteger 10

非正整数。

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

NormalizedString

规范化字符串。

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

NormalizedString 1

规范化字符串。

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

Notation 41

符号。

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

Notation

符号。

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

Equality(XmlDataValues, XmlDataValues)
Inequality(XmlDataValues, XmlDataValues)
PositiveInteger 8

正整数。

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

PositiveInteger

正整数。

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

Qname 32

Qname。

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

Qname

Qname。

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

Short 16

短。

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

Short

短。

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

String

字符串。

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

String 0

字符串。

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

Time

时间。

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

Time 22

时间。

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

Token

令 牌。

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

Token 2

令 牌。

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

ToString()
UnsignedByte

未签名的字节。

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

UnsignedByte 4

未签名的字节。

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

UnsignedInteger 13

无符号整数。

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

UnsignedInteger

无符号整数。

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

UnsignedLong

未签名的 Long。

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

UnsignedLong 15

未签名的 Long。

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

UnsignedShort

无符号短。

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

UnsignedShort 17

无符号短。

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

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

适用于