ProjectionMaxTResult Method
Computes the maximum of a sequence of values.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The computed maximum.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public static TResult Max<TResult>(
Expression<Func<TResult>> expression
)
VB
Public Shared Function Max(Of TResult) (
expression As Expression(Of Func(Of TResult))
) As TResultParameters
- expression ExpressionFuncTResult
- A function that returns the member to find the maximum for.
Type Parameters
- TResult
- The type of the member.
Return Value
TResultThe computed maximum.
Exceptions
| ArgumentNullException | Occurs when expression is null. |