IConvertToCanConvertTo Method Apache log4net™ SDK Documentation
Returns whether this converter can convert the object to the specified type

Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

bool CanConvertTo(
	Type targetType
)

Parameters

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

Return Value

Type: Boolean
true if the conversion is possible
Remarks

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

See Also

Reference