RawLayoutConverter ConvertFrom Method | Apache log4net™ SDK Documentation

Convert the value to a IRawLayout object

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

C#
VB
C++
F#
Copy

    public Object ConvertFrom(
    	Object source
    )

    Public Function ConvertFrom (
    	source As Object
    ) As Object

    public:
    virtual Object^ ConvertFrom(
    	Object^ source
    ) sealed

    abstract ConvertFrom :
            source : Object -> Object
    override ConvertFrom :
            source : Object -> Object

#### Parameters

source
  Type: System
  Object
  the value to convert

#### Return Value

Type: Object
the IRawLayout object

#### Implements

IConvertFrom
ConvertFrom(Object)
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

#### Reference

RawLayoutConverter Class
log4net.Layout Namespace