log4net SDK Reference |

# IConvertFrom.CanConvertFrom Method

Can the source type be converted to the type supported by this object

[Visual Basic]
Function CanConvertFrom( _
ByVal sourceType As Type _
) As Boolean
[C#]
bool CanConvertFrom(
Type sourceType
);

#### Parameters

sourceType
  the type to convert

#### Return Value

true if the conversion is possible

#### Remarks

Test if the sourceType can be converted to the type supported by this converter.

#### See Also

IConvertFrom Interface | log4net.Util.TypeConverters Namespace