Method GetFormattedValue
GetFormattedValue(PopupField)
Returns a formatted String representation of the current popup field's value.
Declaration
public string GetFormattedValue(PopupField popupField)
Parameters
Type | Name | Description |
---|---|---|
PopupField | popupField | The PopupField for which to get the formatted value. |
Returns
Type | Description |
---|---|
System.String | The formatted field value string based on the given PopupField information. |
Remarks
If Expressions is not empty, the PopupField may be using expressions with Arcade FeatureSet functions. Use EvaluateExpressionsAsync() to evaluate the Arcade expressions before trying to get the formatted System.String representation of the popup field's value, otherwise it may return an empty string. If the field is part of a CodedValueDomain, the Name is returned.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |