log4net SDK Reference |

# AdoNetAppenderParameter.FormatValue Method

Renders the logging event and set the parameter value in the command.

[Visual Basic]
Overridable Public Sub FormatValue( _
ByVal command As IDbCommand, _
ByVal loggingEvent As LoggingEvent _
)
[C#]
public virtual void FormatValue(
IDbCommand command,
LoggingEvent loggingEvent
);

#### Parameters

command
  The command containing the parameter.
loggingEvent
  The event to be rendered.

#### Remarks

Renders the logging event using this parameters layout object. Sets the value of the parameter on the command object.

#### See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace