The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.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 ITypeDescriptorContext object that provides a format context.

culture CultureInfo

An CultureInfo object that specifies the current culture.

value Object

An Object to be converted.

destinationType Type

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

Returns

Type Description
Object

An Object that is a converted object.

Remarks

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

See Also