ConverterRegistry GetConvertFrom Method | Apache log4net™ SDK Documentation

Gets the type converter to use to convert values to the destination type.

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

C#
VB
C++
F#
Copy

    public static IConvertFrom GetConvertFrom(
    	Type destinationType
    )

    Public Shared Function GetConvertFrom (
    	destinationType As Type
    ) As IConvertFrom

    public:
    static IConvertFrom^ GetConvertFrom(
    	Type^ destinationType
    )

    static member GetConvertFrom :
            destinationType : Type -> IConvertFrom

#### Parameters

destinationType
  Type: System
  Type
  The type being converted to.

#### Return Value

Type: IConvertFrom
The type converter instance to use for type conversions or null if no type converter is found.
Remarks

Gets the type converter to use to convert values to the destination type.

See Also

#### Reference

ConverterRegistry Class
log4net.Util.TypeConverters Namespace