IConvertToConvertTo Method Apache log4net™ SDK Documentation
Converts the given value object to the specified type, using the arguments

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

Object ConvertTo(
	Object source,
	Type targetType
)

Parameters

source
Type: SystemObject
the object to convert
targetType
Type: SystemType
The Type to convert the value parameter to

Return Value

Type: Object
the converted object
Remarks

Converts the source (which must be of the type supported by this converter) to the targetType specified..

See Also

Reference