OptionConverter CanConvertTypeTo Method Apache log4net™ SDK Documentation
Checks if there is an appropriate type conversion from the source type to the target type.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static bool CanConvertTypeTo(
	Type sourceType,
	Type targetType
)

Return Value

Type: OnlineBoolean
true if there is a conversion from the source type to the target type.
Remarks

Checks if there is an appropriate type conversion from the source type to the target type.

See Also