Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ExcelCellData

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

A typed snapshot of a worksheet cell value.

Inheritance

  • Object
  • ExcelCellData

Usage

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

Constructors

public ExcelCellData(ExcelCellDataKind kind, Object? value, String? formula = null, String? cachedText = null) #

Creates a snapshot for a worksheet cell value.

Parameters

kind OfficeIMO.Excel.ExcelCellDataKind requiredposition: 0
value System.Object? requiredposition: 1
formula System.String? = null optionalposition: 2
cachedText System.String? = null optionalposition: 3

Properties

public ExcelCellDataKind Kind { get; } #

Gets the value kind.

public Object? Value { get; } #

Gets the typed value when one is available.

public String? Formula { get; } #

Gets the formula text for formula cells.

public String? CachedText { get; } #

Gets the cached text from the cell value.

public Boolean IsBlank { get; } #

Gets a value indicating whether the cell is blank.

public Boolean HasFormula { get; } #

Gets a value indicating whether the cell contains a formula.