Click or drag to resize
AggregateValueExtensionsConvertOrDefaultT Method
Convert the given aggregate value to specified type.

Namespace: Telerik.Pivot.Core
Assembly: Telerik.WinControls.PivotGrid (in Telerik.WinControls.PivotGrid.dll) Version: 2018.3.911.40 (2018.3.911.40)
public static T ConvertOrDefault<T>(
	this AggregateValue aggregateValue


Type: Telerik.Pivot.Core.AggregatesAggregateValue
The aggregate value to convert.

Type Parameters

The type to convert to.

Return Value

Type: T
The value associated, if conversion is possible; otherwise, the default value for the type of the value parameter.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AggregateValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also