Skip to main content
A newer version of this page is available. .

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

Converts the component to the specified type.

Namespace: DevExpress.ReportServer.ServiceModel.Client

Assembly: DevExpress.Printing.v18.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