# ExcelCellDataKind

Kind of value stored in an ExcelCellData.

Enum 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelCalculationOptions.cs:217](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L217)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Kind of value stored in an [ExcelCellData](/api/excel/officeimo-excel-excelcelldata/).

## Inheritance

- Enum
- ExcelCellDataKind

## Usage

Explore 8 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 7

- Property [ExcelCellData.Kind](/api/excel/officeimo-excel-excelcelldata/#property-kind)
- Field [ExcelCellDataKind.Blank](/api/excel/officeimo-excel-excelcelldatakind/#field-blank)
- Field [ExcelCellDataKind.Boolean](/api/excel/officeimo-excel-excelcelldatakind/#field-boolean)
- Field [ExcelCellDataKind.Error](/api/excel/officeimo-excel-excelcelldatakind/#field-error)
- Field [ExcelCellDataKind.Formula](/api/excel/officeimo-excel-excelcelldatakind/#field-formula)
- Field [ExcelCellDataKind.Number](/api/excel/officeimo-excel-excelcelldatakind/#field-number)
- Field [ExcelCellDataKind.Text](/api/excel/officeimo-excel-excelcelldatakind/#field-text)

### Accepted by parameters 1

- Constructor [ExcelCellData.ExcelCellData](/api/excel/officeimo-excel-excelcelldata/#constructor-ctor-officeimo-excel-excelcelldatakind-object-string-string) parameter `kind`

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 ExcelCellDataKind Blank` [#](#field-blank)

[ExcelCalculationOptions.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L219)

The cell has no value.

Value: `0`

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

[ExcelCalculationOptions.cs:221](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L221)

The cell contains a Boolean value.

Value: `1`

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

[ExcelCalculationOptions.cs:223](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L223)

The cell contains a numeric value.

Value: `2`

`public const ExcelCellDataKind Text` [#](#field-text)

[ExcelCalculationOptions.cs:225](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L225)

The cell contains text.

Value: `3`

`public const ExcelCellDataKind Error` [#](#field-error)

[ExcelCalculationOptions.cs:227](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L227)

The cell contains an error value.

Value: `4`

`public const ExcelCellDataKind Formula` [#](#field-formula)

[ExcelCalculationOptions.cs:229](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelCalculationOptions.cs#L229)

The cell contains a formula.

Value: `5`

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