UnitsConverterCanConvertFrom(ITypeDescriptorContext, Type) Method

Checks whether the object can be converted within the specified context.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 27.3.0.0
Syntax
public override bool CanConvertFrom(
        ITypeDescriptorContext context,
        Type sourceType
)

Parameters

context  ITypeDescriptorContext
[in] Context to convert with.
sourceType  Type
[in] Source type.

Return Value

Boolean
See Also