Skip to main content

ServiceClientFactoryConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Converts the component to the specified type.

Namespace: DevExpress.ReportServer.ServiceModel.Client

Assembly: DevExpress.Printing.v24.2.Core.dll

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

A Object value.

destinationType Type

A Type enumeration value.

Returns

Type Description
Object

A Object value.

Remarks

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

See Also