API Reference
Struct
ExcelCellContext
Describes a cell's raw OpenXML data for custom conversion hooks.
Inheritance
- ValueType
- ExcelCellContext
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ExcelReadOptions.CellValueConverter
Constructors
public ExcelCellContext(Nullable<CellValues> typeHint, Nullable<UInt32> styleIndex, String rawText, String inlineText, CultureInfo culture) #Creates a description of the original OpenXML cell and culture for conversion.
Parameters
- typeHint System.Nullable{DocumentFormat.OpenXml.Spreadsheet.CellValues}
- styleIndex System.Nullable{System.UInt32}
- rawText System.String
- inlineText System.String
- culture System.Globalization.CultureInfo
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object
Properties
public Nullable<CellValues> TypeHint { get; } #OpenXML cell type hint, if present.
public Nullable<UInt32> StyleIndex { get; } #Cell style index as defined in the workbook, if present.
public String RawText { get; } #Raw shared/inline text value when present.
public String InlineText { get; } #Inline string content when present.
public CultureInfo Culture { get; } #Culture to use for parsing numbers/dates.