JsonNode.JsonNodeTypeConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method
In This Article
Converts the component to the specified type.
Namespace: DevExpress.DataAccess.Json
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public override object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
object value,
Type destinationType
)
#Parameters
Name | Type | Description |
---|---|---|
context | IType |
An object implementing the IType |
culture | Culture |
A Culture |
value | Object | An Object value. |
destination |
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