Skip to main content

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

Converts the component to the specified type.

Namespace: DevExpress.DataAccess.Json

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public override object ConvertTo(
    ITypeDescriptorContext context,
    CultureInfo culture,
    object value,
    Type destinationType
)

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