# OdsCellValueKind

Logical value kinds supported by the native ODS cell model.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdsCellValue.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L4)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Logical value kinds supported by the native ODS cell model.

## Inheritance

- Enum
- OdsCellValueKind

## Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 9

- Property [OdsCellValue.Kind](/api/open-document/officeimo-opendocument-odscellvalue/#property-kind)
- Field [OdsCellValueKind.Boolean](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-boolean)
- Field [OdsCellValueKind.Currency](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-currency)
- Field [OdsCellValueKind.Date](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-date)
- Field [OdsCellValueKind.Empty](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-empty)
- Field [OdsCellValueKind.Number](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-number)
- Field [OdsCellValueKind.Percentage](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-percentage)
- Field [OdsCellValueKind.String](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-string)
- Field [OdsCellValueKind.Time](/api/open-document/officeimo-opendocument-odscellvaluekind/#field-time)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OdsCellValueKind Empty` [#](#field-empty)

[OdsCellValue.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L6)

No value.

Value: `0`

`public const OdsCellValueKind String` [#](#field-string)

[OdsCellValue.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L8)

Text value.

Value: `1`

`public const OdsCellValueKind Number` [#](#field-number)

[OdsCellValue.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L10)

Floating-point or decimal value.

Value: `2`

`public const OdsCellValueKind Boolean` [#](#field-boolean)

[OdsCellValue.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L12)

Boolean value.

Value: `3`

`public const OdsCellValueKind Date` [#](#field-date)

[OdsCellValue.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L14)

Date or date-time value.

Value: `4`

`public const OdsCellValueKind Time` [#](#field-time)

[OdsCellValue.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L16)

Time-of-day or duration value represented by an ODF duration.

Value: `5`

`public const OdsCellValueKind Percentage` [#](#field-percentage)

[OdsCellValue.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L18)

Percentage stored as a fractional number.

Value: `6`

`public const OdsCellValueKind Currency` [#](#field-currency)

[OdsCellValue.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/OdsCellValue.cs#L20)

Currency value with an ISO currency code.

Value: `7`

<!-- PowerForge markdown artifact sha256:DD26B66193DB46E008398458497361DE4C8FBB70F7EDD1C146BDA1C0E183EC20 -->
