Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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)
Syntax
'Declaration
Public Function ConvertTo ( _
type As Type _
) As Object
public Object ConvertTo(
Type type
)
public:
Object^ ConvertTo(
Type^ type
)
Parameters
- type
Type: System.Type
The target type.
Return Value
Type: System.Object
The converted value.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The type parameter is null reference (Nothing in Visual Basic). |