log4net SDK Reference |

# RawLayoutConverter.CanConvertFrom Method

Can the sourceType be converted to an IRawLayout

[Visual Basic]
NotOverridable Public Function CanConvertFrom( _
ByVal sourceType As Type _
) As Boolean _
Implements IConvertFrom.CanConvertFrom
[C#]
public bool CanConvertFrom(
Type sourceType
);

#### Parameters

sourceType
  the source to be to be converted

#### Return Value

`true` if the source type can be converted to IRawLayout

#### Implements

IConvertFrom.CanConvertFrom

#### Remarks

Test if the sourceType can be converted to a IRawLayout. Only ILayout is supported as the sourceType.

#### See Also

RawLayoutConverter Class | log4net.Layout Namespace