Export (0) Print
Expand All

ValueProviderResult.ConvertTo Method (Type)

.NET Framework 4

Converts the value that is encapsulated by this result to the specified type.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public Object ConvertTo(
	Type type
)

Parameters

type
Type: System.Type
The target type.

Return Value

Type: System.Object
The converted value.

ExceptionCondition
ArgumentNullException

The type parameter is null.

Community Additions

ADD
Show:
© 2014 Microsoft