Constructor ArcadeLabelExpression
ArcadeLabelExpression()
Initializes a new instance of the ArcadeLabelExpression class with an empty expression script.
Declaration
public ArcadeLabelExpression()
Remarks
An empty script is a valid Arcade expression that will evaluate to an empty string.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.11 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.11 - 100.15 |
| .NET 5 | 100.11 - 100.12 |
| .NET Core 3.1 | 100.11 - 100.12 |
| Xamarin.Android | 100.11 - 100.15 |
| Xamarin.iOS | 100.11 - 100.15 |
| UWP | 100.11 - 100.15 |
ArcadeLabelExpression(String)
Initializes a new instance of the ArcadeLabelExpression class with a specified Arcade expression script.
Declaration
public ArcadeLabelExpression(string arcadeExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | arcadeExpression | The Arcade expression script string. |
Remarks
The expression is expected to be a complete, self-contained Arcade expression.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.11 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.11 - 100.15 |
| .NET 5 | 100.11 - 100.12 |
| .NET Core 3.1 | 100.11 - 100.12 |
| Xamarin.Android | 100.11 - 100.15 |
| Xamarin.iOS | 100.11 - 100.15 |
| UWP | 100.11 - 100.15 |
ArcadeLabelExpression(ArcadeExpression)
Initializes a new instance of the ArcadeLabelExpression class with a specified ArcadeExpression.
Declaration
public ArcadeLabelExpression(ArcadeExpression arcadeExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| ArcadeExpression | arcadeExpression | An ArcadeExpression containing the expression script to use for labeling. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.11 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.11 - 100.15 |
| .NET 5 | 100.11 - 100.12 |
| .NET Core 3.1 | 100.11 - 100.12 |
| Xamarin.Android | 100.11 - 100.15 |
| Xamarin.iOS | 100.11 - 100.15 |
| UWP | 100.11 - 100.15 |