Constructor StatisticDefinition
StatisticDefinition(String, StatisticType, String)
Initializes a new instance of the StatisticDefinition class.
Declaration
public StatisticDefinition(string onFieldName, StatisticType statisticType, string outputAlias)
Parameters
Type | Name | Description |
---|---|---|
System.String | onFieldName | The name of the field in the table containing values to be used for the statistic. |
StatisticType | statisticType | The statistic to calculate. |
System.String | outputAlias | The optional name for this statistic in the results. |
Remarks
A statistic definition must specify a field name and statistic type. Optionally, you can provide a name for the output statistic result.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.14 |
Relevant samples
Statistical query: Query a table to get aggregated statistics back for a specific field.