LineWeightConverterCanConvertFrom(ITypeDescriptorContext, Type) Method

Checks whether the provided source type can be converted to this type.

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 descriptor for the conversion.
sourceType  Type
[in] Type to check for conversion capability.

Return Value

Boolean
true if can be converted, false otherwise.
See Also