log4net SDK Reference |

# RendererMap.Put Method

Register an IObjectRenderer for typeToRender.

[Visual Basic]
Public Sub Put( _
ByVal typeToRender As Type, _
ByVal renderer As IObjectRenderer _
)
[C#]
public void Put(
Type typeToRender,
IObjectRenderer renderer
);

#### Parameters

typeToRender
  the type that will be rendered by renderer
renderer
  the renderer for typeToRender

#### Remarks

Register an object renderer for a specific source type. This renderer will be returned from a call to Get specifying the same typeToRender as an argument.

#### See Also

RendererMap Class | log4net.ObjectRenderer Namespace