IConvertTo Interface | Apache log4net™ SDK Documentation

Interface supported by type converters

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

C#
VB
C++
F#
Copy

    public interface IConvertTo

    Public Interface IConvertTo

    public interface class IConvertTo

    type IConvertTo =  interface end

The IConvertTo type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| CanConvertTo | Returns whether this converter can convert the object to the specified type
| ConvertTo | Converts the given value object to the specified type, using the arguments

Top
Remarks

This interface supports conversion from a single type to arbitrary types. See TypeConverterAttribute.

See Also

#### Reference

log4net.Util.TypeConverters Namespace