Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���TypesourceType
);

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