Extension methods for ValueProviderResult.
Definition
Namespace:Kendo.Mvc.Extensions
Assembly:Kendo.Mvc.dll
Syntax:
C#
public static class ValueProviderResultExtensions
Inheritance: objectValueProviderResultExtensions
Inherited Members
Methods
Attempts to convert the values in result to the specified type.
C#
public static object ConvertValueTo(this ValueProviderResult result, Type type)
The ValueProviderResult.
typeTypeThe Type for conversion.
Returns:The converted value, or the default value of type if the value could not be converted.