Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ConverterRegistry.GetConvertTo�Method�

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

[Visual�Basic]
Public�Shared�Function�GetConvertTo( _
���ByVal sourceType�As�Type,�_
���ByVal destinationType�As�Type�_
)�As�IConvertTo
[C#]
public�static�IConvertTo�GetConvertTo(
���TypesourceType,
���TypedestinationType
);

Parameters

sourceType
The type being converted from.
destinationType
The type being converted to.

Return Value

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

ConverterRegistry Class | log4net.Util.TypeConverters Namespace