| Visual Basic (Declaration) | |
|---|---|
Public Shared Function DefaultAggregateFunction( _ ByVal expressionType As System.Type _ ) As AggregateFunction | |
| C# | |
|---|---|
public static AggregateFunction DefaultAggregateFunction( System.Type expressionType ) | |
Parameters
- expressionType
- The expression's result type.
Return Value
The corresponding aggregate function.The text and date/time expressions have Count as a default AggregateFunction. Other expressions have Sum as a default AggregateFunction.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2