UnitsConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Converts the provided object to the provided type and returns the converted object.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 25.3.0.0
Syntax
public override Object ConvertTo(
        ITypeDescriptorContext context,
        CultureInfo culture,
        Object value,
        Type destinationType
)

Parameters

context  ITypeDescriptorContext
[in] Context to convert with.
culture  CultureInfo
[in] Culture to convert within.
value  Object
[in] Object to convert.
destinationType  Type
[in] Destination type.

Return Value

Object
See Also

©  Bricsys NV. All rights reserved.