Enum ArcadeExpressionReturnType
The expected type of the result calculated by an expression described within an ArcadeExpression
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum ArcadeExpressionReturnType
Fields
Name | Description |
---|---|
Any | The return type is expected to be any of the other ArcadeExpressionReturnType types. 'Any' implies that the application evaluating the expression will need to check the result for its type and use the value appropriately. |
Automatic | The return type of the expression will be automatically determined based on the script calculation. The return type is determined by the return value of the script. Different paths through the script might result in different result types. For example, depending on input values, it might return a number, a string, a date or an array. |
Boolean | The return type is expected to be a boolean value of Arcade will convert the return type to a boolean via the following transformations:
|
Date | The return type is expected to be a System.DateTime value. Arcade converts the return type to a System.DateTime via the following transformations:
|
DateOnly | The return type is expected to be a DateOnly value. Arcade converts the return type to a DateOnly via the following transformations:
|
Dictionary | The return type is expected to be a dictionary of key/value pairs. Arcade will convert the return type to a dictionary of key/value pairs via the following transformations:
|
Number | The return type is expected to be a floating-point number. Arcade will convert the return type to a double via the following transformations:
|
String | The return type is expected to be a string. Arcade will convert the return type to a string via the Arcade Text() function. |
TimeOnly | The return type is expected to be a TimeOnly value. Arcade converts the return type to a TimeOnly via the following transformations:
|
TimestampOffset | The return type is expected to be a System.DateTimeOffset value. Arcade converts the return type to a System.DateTimeOffset via the following transformations:
|
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 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.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |