Class StreamCellType
Identifies the kind of value held by a StreamCell encountered while forward-only streaming through an XLSX worksheet.
Inheritance
Namespace: IronXL
Assembly: IronXL.dll
Syntax
public sealed class StreamCellType : Enum
StreamCellType identifies the kind of value held by a StreamCell when reading an XLSX worksheet in forward-only streaming mode. Blank is the default for empty cells. Number, String, and Boolean cover the most common data types, Date handles date-serial values, and Error flags formula errors. Check StreamCell.CellType against these members to branch your parsing logic safely. See the streaming how-to for a complete walkthrough.
if (cell.CellType == StreamCellType.Number) Console.WriteLine(cell.NumericValue);Fields
Blank
The cell has no value.
Declaration
public const StreamCellType Blank
Field Value
| Type | Description |
|---|---|
| StreamCellType |
Boolean
The cell holds a boolean value.
Declaration
public const StreamCellType Boolean
Field Value
| Type | Description |
|---|---|
| StreamCellType |
Date
The cell holds a date/time value.
Declaration
public const StreamCellType Date
Field Value
| Type | Description |
|---|---|
| StreamCellType |
Error
The cell holds an error value.
Declaration
public const StreamCellType Error
Field Value
| Type | Description |
|---|---|
| StreamCellType |
Number
The cell holds a numeric value.
Declaration
public const StreamCellType Number
Field Value
| Type | Description |
|---|---|
| StreamCellType |
String
The cell holds a string value.
Declaration
public const StreamCellType String
Field Value
| Type | Description |
|---|---|
| StreamCellType |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |