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

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

Parameters

aggregateValue
Type: Telerik.Pivot.Core.AggregatesAggregateValue
The aggregate value to convert.
value
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

T
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