Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ConverterRegistry.AddConverter�Method�(Type, Object)

Adds a converter for a specific type.

[Visual�Basic]
Overloads�Public�Shared�Sub�AddConverter( _
���ByVal destinationType�As�Type,�_
���ByVal converter�As�Object�_
)
[C#]
public�static�void�AddConverter(
���TypedestinationType,
���objectconverter
);

Parameters

destinationType
The type being converted to.
converter
The type converter to use to convert to the destination type.

Remarks

Adds a converter instance for a specific type.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace | ConverterRegistry.AddConverter Overload List