[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.Reference.ToString

ToString Method

ToString()

Converts the reference to text using the specified unparse context.

Use UnParseContext to control how the reference is converted, including whether the result uses A1 or R1C1 notation and which base row and base column are applied when relative references are resolved.

Declaration
public override string ToString()
Public Overrides Function ToString() As String
Returns
Type Description
string

The text representation of this reference in the format specified by context.

Overrides
Exceptions
Type Condition
ArgumentNullException

if context is null.

ToString(UnParseContext)

Converts the reference to text using the specified unparse context.

Use UnParseContext to control how the reference is converted, including whether the result uses A1 or R1C1 notation and which base row and base column are applied when relative references are resolved.

Declaration
public string ToString(UnParseContext context)
Public Function ToString(context As UnParseContext) As String
Parameters
Type Name Description
UnParseContext context

The context that specifies how the reference is converted. Must not be null.

Returns
Type Description
string

The text representation of this reference in the format specified by context.

Exceptions
Type Condition
ArgumentNullException

if context is null.