[]
Returns the formula text for this node using the default unparse context.
This method converts the syntax node back to a formula string by using GrapeCity.Documents.Excel.Expressions.UnParseContext.Default.
public override string ToString()
Public Overrides Function ToString() As String
| Type | Description |
|---|---|
| string | The formula text for this node. |
SyntaxNode node = SyntaxNode.Parse("SUM(A1:A3)+B1");
string formulaText = node.ToString();
Returns the formula text for this node, optionally specifying context.
public virtual string ToString(UnParseContext context)
Public Overridable Function ToString(context As UnParseContext) As String
| Type | Name | Description |
|---|---|---|
| UnParseContext | context | Options for converting FormulaSyntaxTree to string. |
| Type | Description |
|---|---|
| string | A string containing the formula text for this syntax node. |