Represents a named reference defined in the workbook.

Inheritance

Inherited from: NamedReferenceBase

Gets or sets the comment associated with the named reference or table.

public string Comment { get; set; }

Inherited from: NamedReferenceBase

Gets or sets the name of the reference.

public string Name { get; set; }

Inherited from: NamedReferenceBase

Gets the scope of the named reference.

public object Scope { get; }

Gets the formula which defines the named reference.

public string Formula { get; }

Gets the value indicating whether the is a simple formula referring to a single cell, a single region, or multiple regions in the same workbook as the named reference.

public bool IsSimpleReferenceFormula { get; }

Gets the referenced by the .

public WorksheetCell ReferencedCell { get; }

Gets the referenced by the .

public WorksheetRegion ReferencedRegion { get; }

Gets the array of instances referenced by the .

public WorksheetRegion[] ReferencedRegions { get; }

Sets the formula for a named reference.

public void SetFormula(string formula)

Parameters

  • formula: string

Returns any

SetFormula(string, CellReferenceMode)

Section titled "SetFormula(string, CellReferenceMode)"

Sets the formula for a named reference.

public void SetFormula(string formula, CellReferenceMode cellReferenceMode)

Parameters

  • formula: string
  • cellReferenceMode: CellReferenceMode

Returns any

SetFormula(string, CellReferenceMode, CultureInfo)

Section titled "SetFormula(string, CellReferenceMode, CultureInfo)"

Sets the formula for a named reference.

public void SetFormula(string formula, CellReferenceMode cellReferenceMode, CultureInfo culture)

Parameters

  • formula: string
  • cellReferenceMode: CellReferenceMode
  • culture: CultureInfo

Returns any

Gets the string representation of the named reference.

public override string ToString()

Returns any