DataSetsGetAverage Method |
Returns the
AverageDataSet that was generated
to fulfil the specified
AverageDataSpec from the request, or throws a
SourceDataException if no such data set could be
generated.
Namespace: DegreeDays.Api.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public AverageDataSet GetAverage(
AverageDataSpec dataSpec
)
Public Function GetAverage (
dataSpec As AverageDataSpec
) As AverageDataSet
Parameters
- dataSpec AverageDataSpec
- An AverageDataSpec from the request.
Return Value
AverageDataSetThe non-null
AverageDataSet that was generated to fulfil
dataSpec.
Exceptions Remarks
This is a convenience alternative to calling GetBase(DataSpec) with an
AverageDataSpec and then casting the result.
See Also