Engine.GetDisplayExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetDisplayExpression(String, ReadOnlySymbolTable, CultureInfo) | |
| GetDisplayExpression(String, RecordType, CultureInfo) |
Convert references in an expression to the display form. |
GetDisplayExpression(String, ReadOnlySymbolTable, CultureInfo)
public string GetDisplayExpression(string expressionText, Microsoft.PowerFx.ReadOnlySymbolTable symbolTable, System.Globalization.CultureInfo culture = default);
member this.GetDisplayExpression : string * Microsoft.PowerFx.ReadOnlySymbolTable * System.Globalization.CultureInfo -> string
Public Function GetDisplayExpression (expressionText As String, symbolTable As ReadOnlySymbolTable, Optional culture As CultureInfo = Nothing) As String
Parameters
- expressionText
- String
- symbolTable
- ReadOnlySymbolTable
- culture
- CultureInfo
Returns
Applies to
GetDisplayExpression(String, RecordType, CultureInfo)
Convert references in an expression to the display form.
public string GetDisplayExpression(string expressionText, Microsoft.PowerFx.Types.RecordType parameters, System.Globalization.CultureInfo culture = default);
member this.GetDisplayExpression : string * Microsoft.PowerFx.Types.RecordType * System.Globalization.CultureInfo -> string
Public Function GetDisplayExpression (expressionText As String, parameters As RecordType, Optional culture As CultureInfo = Nothing) As String
Parameters
- expressionText
- String
textual representation of the formula.
- parameters
- RecordType
Type of parameters for formula. The fields in the parameter record can be acecssed as top-level identifiers in the formula. If DisplayNames are used, make sure to have that mapping as part of the RecordType.
- culture
- CultureInfo
Culture.
Returns
The formula, with all identifiers converted to display form.