Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

SpreadsheetRangeReference

Namespace OfficeIMO.Spreadsheet
Assembly OfficeIMO.Core
Modifiers sealed

Immutable, typed spreadsheet address syntax. The parser understands quoting, absolute markers, whole-row and whole-column ranges without splitting semantic text on punctuation.

Inheritance

  • Object
  • SpreadsheetRangeReference

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public String Format(SpreadsheetAddressDialect dialect) #
Returns: String

Formats this address using the requested grammar.

Parameters

dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect requiredposition: 0
public String FormatBaseCell(SpreadsheetAddressDialect dialect) #
Returns: String

Formats the first cell using the requested grammar.

Parameters

dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect requiredposition: 0
public static SpreadsheetRangeReference Parse(String text, SpreadsheetAddressDialect dialect) #
Returns: SpreadsheetRangeReference

Parses a complete address using the requested grammar.

Parameters

text System.String requiredposition: 0
dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect requiredposition: 1
public override String ToString() #
Returns: String
public Boolean TryFormat(SpreadsheetAddressDialect dialect, out String formatted) #
Returns: Boolean

Attempts to format this address without changing relative-sheet or cross-sheet range semantics.

Parameters

dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect requiredposition: 0
formatted System.String@ requiredposition: 1
public static Boolean TryParse(String text, SpreadsheetAddressDialect dialect, out SpreadsheetRangeReference reference) #
Returns: Boolean

Attempts to parse a complete address using the requested grammar.

Parameters

text System.String requiredposition: 0
dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect requiredposition: 1
reference OfficeIMO.Spreadsheet.SpreadsheetRangeReference@ requiredposition: 2

Properties

public SpreadsheetCellReference Start { get; } #

Gets the first endpoint.

public SpreadsheetCellReference End { get; } #

Gets the optional second endpoint.

public Boolean IsRange { get; } #

Gets whether the syntax represents a range.