JsonNode.JsonNodeTypeConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Converts the component to the specified type.

Namespace: DevExpress.DataAccess.Json

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public override object ConvertTo(
    ITypeDescriptorContext context,
    CultureInfo culture,
    object value,
    Type destinationType
)
Public Overrides Function ConvertTo(
    context As ITypeDescriptorContext,
    culture As CultureInfo,
    value As Object,
    destinationType As Type
) As Object

Parameters

Name Type Description
context ITypeDescriptorContext

An object implementing the ITypeDescriptorContext interface.

culture CultureInfo

A CultureInfo object.

value Object

An Object value.

destinationType Type

A Type enumeration value.

Returns

Type Description
Object

An Object value.

Remarks

Before calling the ConvertTo method, use the JsonNode.JsonNodeTypeConverter.CanConvertTo method to check the validity of the intended operation.

See Also