log4net SDK Reference |

# RawLayoutConverter.ConvertFrom Method

Convert the value to a IRawLayout object

[Visual Basic]
NotOverridable Public Function ConvertFrom( _
ByVal source As Object _
) As Object _
Implements IConvertFrom.ConvertFrom
[C#]
public object ConvertFrom(
object source
);

#### Parameters

source
  the value to convert

#### Return Value

the IRawLayout object

#### Implements

IConvertFrom.ConvertFrom

#### Remarks

Convert the source object to a IRawLayout object. If the source object is a ILayout then the Layout2RawLayoutAdapter is used to adapt between the two interfaces, otherwise an exception is thrown.

#### See Also

RawLayoutConverter Class | log4net.Layout Namespace