New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Namespace:Kendo.Mvc.Infrastructure

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class AggregateResult

Inheritance: objectAggregateResult

Inherited Members object.GetType()object.MemberwiseClone()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the AggregateResult class.

C#
public AggregateResult(AggregateFunction function)
Parameters:functionAggregateFunction

AggregateFunction that generated the result.

Exceptions: ArgumentNullException

function is null.

Initializes a new instance of the AggregateResult class.

C#
public AggregateResult(object value, AggregateFunction function)
Parameters:valueobject

The value of the result.

functionAggregateFunction

AggregateFunction that generated the result.

Initializes a new instance of the AggregateResult class.

C#
public AggregateResult(object value, int count, AggregateFunction function)
Parameters:valueobject

The value of the result.

countint

The number of arguments used for the calculation of the result.

functionAggregateFunction

Function that generated the result.

Exceptions: ArgumentNullException

function is null.

Properties

C#
public string AggregateMethodName { get; }

Gets or sets the text which serves as a caption for the result in a user interface..

C#
public string Caption { get; }
Property Value:

The text which serves as a caption for the result in a user interface.

Gets the formatted value of the result.

C#
public object FormattedValue { get; }
Property Value:

The formatted value of the result.

Gets the name of the function.

C#
public string FunctionName { get; }
Property Value:

The name of the function.

Gets or sets the number of arguments used for the calulation of the result.

C#
public int ItemCount { get; set; }
Property Value:

The number of arguments used for the calulation of the result.

C#
public string Member { get; }

Gets or sets the value of the result.

C#
public object Value { get; }
Property Value:

The value of the result.

Methods

C#
public string Format(string format)
Parameters:formatstringReturns:

string

Returns a string that represents the current object.

C#
public override string ToString()
Returns:

string

A string that represents the current object.

Overrides: object.ToString()