IJsonValue.CanConvertTo 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 CanConvertTo ( _
type As Type _
) As Boolean
'Usage
Dim instance As IJsonValue
Dim type As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertTo(type)
bool CanConvertTo(
Type type
)
bool CanConvertTo(
Type^ type
)
abstract CanConvertTo :
type:Type -> bool
function CanConvertTo(
type : Type
) : boolean
Parameters
- type
Type: System.Type
The Type to convert the parameter to.
Return Value
Type: System.Boolean
The converted parameter value.