Click or drag to resize
AggregateValueExtensionsTryConvertValueT Method
Tries to convert the given aggregate value to specified type.

Namespace: Telerik.Pivot.Core
Assembly: Telerik.WinControls.PivotGrid (in Telerik.WinControls.PivotGrid.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
public static bool TryConvertValue<T>(
	this AggregateValue aggregateValue,
	out T value


Type: Telerik.Pivot.Core.AggregatesAggregateValue
The aggregate value to convert.
Type: T
When this method returns, contains the value associated, if conversion is possible; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Type Parameters

The type to convert to.

Return Value

Type: Boolean
True if conversion succeeded, otherwise false.

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