Partager via


IJsonValue.ConvertTo Method

.NET Framework 4

Converts the parameter value to the specified Type.

Namespace:  Microsoft.AspNet.SignalR.Json
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Function ConvertTo ( _
    type As Type _
) As Object
'Usage
Dim instance As IJsonValue 
Dim type As Type 
Dim returnValue As Object 

returnValue = instance.ConvertTo(type)
Object ConvertTo(
    Type type
)
Object^ ConvertTo(
    Type^ type
)
abstract ConvertTo : 
        type:Type -> Object
function ConvertTo(
    type : Type
) : Object

Parameters

Return Value

Type: System.Object
The converted parameter value.

See Also

Reference

IJsonValue Interface

Microsoft.AspNet.SignalR.Json Namespace