Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IConvertTo.CanConvertTo�Method�

Returns whether this converter can convert the object to the specified type

[Visual�Basic]
Function�CanConvertTo( _
���ByVal targetType�As�Type�_
)�As�Boolean
[C#]
bool�CanConvertTo(
���TypetargetType
);

Parameters

targetType
A Type that represents the type you want to convert to

Return Value

true if the conversion is possible

Remarks

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

See Also

IConvertTo Interface | log4net.Util.TypeConverters Namespace