Export (0) Print
Expand All

ValueProviderResult::ConvertTo Method (Type)

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 nullptr.

Show:
© 2014 Microsoft