Engine.CreateFieldRenamer(RecordType, DPath, DName, CultureInfo) Method
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.
Creates a renamer instance for updating a field reference from parameters
in expressions.
C#
public Microsoft.PowerFx.Core.RenameDriver CreateFieldRenamer (Microsoft.PowerFx.Types.RecordType parameters, Microsoft.PowerFx.Core.Utils.DPath pathToRename, Microsoft.PowerFx.Core.Utils.DName updatedName, System.Globalization.CultureInfo culture);
member this.CreateFieldRenamer : Microsoft.PowerFx.Types.RecordType * Microsoft.PowerFx.Core.Utils.DPath * Microsoft.PowerFx.Core.Utils.DName * System.Globalization.CultureInfo -> Microsoft.PowerFx.Core.RenameDriver
Public Function CreateFieldRenamer (parameters As RecordType, pathToRename As DPath, updatedName As DName, culture As CultureInfo) As RenameDriver
- parameters
- RecordType
Type of parameters for formula. The fields in the parameter record can be acecssed as top-level identifiers in the formula. Must be the names from before any rename operation is applied.
- pathToRename
- DPath
Path to the field to rename.
- updatedName
- DName
New name. Replaces the last segment of pathToRename
.
- culture
- CultureInfo
Culture.
Product | Versions |
---|---|
Power Fx SDK | Latest |