Show / Hide Table of Contents

Class ArcadeExpression

An Arcade expression object, containing an expression, a name, a return type and a title.

Inheritance
Object
ArcadeExpression
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcadeExpression
Remarks

An Arcade expression object gathers an Arcade script expression together with:

  • The expected return type.
  • The name that a map author uses to refer to it.
  • The title that the author uses to describe the expression.

Constructors

Name Description
ArcadeExpression(String)

Initializes a new instance of the ArcadeExpression class with an expression script.

ArcadeExpression(String, String, String)

Initializes a new instance of the ArcadeExpression class.

ArcadeExpression(String, String, String, ArcadeExpressionReturnType)

Initializes a new instance of the ArcadeExpression class.

Properties

Name Description
Expression

Gets the Arcade expression string.

Name

Gets the name that the author uses to refer to the expression.

ReturnType

Gets the expected return type of the expression.

Title

Gets the title that the author uses to describe the expression.

UnknownJson

Gets a collection of unknown data from the source JSON.

UnsupportedJson

Gets a collection of unsupported data from the source JSON.

Methods

Name Description
Equals(ArcadeExpression)

Tests if two Arcade expression objects are equal.

FromJson(String)

Creates an arcade expression from an ArcGIS JSON representation (expressionInfo).

ToJson()

Converts this arcade expression to an ArcGIS JSON representation (expressionInfo).

Applies to

TargetVersions
.NET Standard 2.0100.11 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.11 - 200.0
.NET 5100.11 - 100.12
.NET Core 3.1100.11 - 100.12
Android100.11 - 100.15
iOS100.11 - 100.15
UWP100.11 - 200.0
In This Article
Back to top Copyright © 2022 Esri.