StructTypeConverter<T>.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Converts the specified object to the object of given type subject to context and culture information.

Namespace: DevExpress.ExpressApp.Xpo.Utils

Assembly: DevExpress.ExpressApp.Xpo.v18.2.dll


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


Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext object that provides a format context.

CultureInfo culture

An CultureInfo object that specifies the current culture.

Object value

An Object to be converted.

Type destinationType

A Type object that is the type to be converted to.


Type Description

An Object that is a converted object.

See the default implementation of this method in the StructTypeConverter<T> class description.

See Also