API Reference
SpreadsheetRangeReference
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.
Returned or exposed by
Accepted by parameters
Methods
public String Format(SpreadsheetAddressDialect dialect) #StringFormats this address using the requested grammar.
Parameters
- dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect
public String FormatBaseCell(SpreadsheetAddressDialect dialect) #StringFormats the first cell using the requested grammar.
Parameters
- dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect
public static SpreadsheetRangeReference FromCell(Int32 column, Int64 row) #SpreadsheetRangeReferenceCreates a relative, unqualified single-cell address from one-based coordinates.
Parameters
- column System.Int32
- One-based column index.
- row System.Int64
- One-based row index.
public static SpreadsheetRangeReference Parse(String text, SpreadsheetAddressDialect dialect) #SpreadsheetRangeReferenceParses a complete address using the requested grammar.
Parameters
- text System.String
- dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect
public override String ToString() #StringReturns a string that represents the current object.
Returns
A string that represents the current object.
public Boolean TryFormat(SpreadsheetAddressDialect dialect, out String formatted) #BooleanAttempts to format this address without changing relative-sheet or cross-sheet range semantics.
Parameters
- dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect
- formatted System.String@
public static Boolean TryParse(String text, SpreadsheetAddressDialect dialect, out SpreadsheetRangeReference reference) #BooleanAttempts to parse a complete address using the requested grammar.
Parameters
- text System.String
- dialect OfficeIMO.Spreadsheet.SpreadsheetAddressDialect
- reference OfficeIMO.Spreadsheet.SpreadsheetRangeReference@