ConverterRegistry.AddConverter Method (Type, Type)
Adds a converter for a specific type.
[Visual Basic]
Overloads Public Shared Sub AddConverter( _
ByVal
destinationType As
Type, _
ByVal
converterType As
Type _
)
[C#]
public static
void AddConverter(
Type destinationType,
Type converterType);
Parameters
-
destinationType
- The type being converted to.
-
converterType
- The type of the type converter to use to convert to the destination type.
Remarks
Adds a converter Type for a specific type.
See Also
ConverterRegistry Class | log4net.Util.TypeConverters Namespace | ConverterRegistry.AddConverter Overload List