Share via


CellValues Enum

Definition

Cell Type

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

Fields

Name Value Description
Boolean 0

Boolean.

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

Number 1

Number.

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

Error 2

Error.

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

SharedString 3

Shared String.

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

String 4

String.

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

InlineString 5

Inline String.

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

Date 6

d.

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

This item is only available in Office 2010 and later.

Boolean

Boolean.

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

CellValues(String)

Creates a new CellValues enum instance

Date

d.

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

This item is only available in Office 2010 and later.

Equality(CellValues, CellValues)
Equals(CellValues)
Equals(Object)
Error

Error.

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

GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<CellValues>.Create(String)
Inequality(CellValues, CellValues)
InlineString

Inline String.

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

Number

Number.

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

SharedString

Shared String.

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

String

String.

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

ToString()

Applies to