log4net SDK Reference |

# PatternLayoutConverter.Convert Method (TextWriter, Object)

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

[Visual Basic]
Overrides Overloads Protected Sub Convert( _
ByVal writer As TextWriter, _
ByVal state As Object _
)
[C#]
protected override void Convert(
TextWriter writer,
object state
);

#### Parameters

writer
  TextWriter that will receive the formatted result.
state
  The state object on which the pattern converter should be executed.

#### Remarks

Missing <remarks> documentation for M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,System.Object)

#### See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace | PatternLayoutConverter.Convert Overload List