RendererMap FindAndRender Method (Object) | Apache log4net™ SDK Documentation

Render obj using the appropriate renderer.

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

C#
VB
C++
F#
Copy

    public string FindAndRender(
    	Object obj
    )

    Public Function FindAndRender (
    	obj As Object
    ) As String

    public:
    String^ FindAndRender(
    	Object^ obj
    )

    member FindAndRender :
            obj : Object -> string

#### Parameters

obj
  Type: System
  Object
  the object to render to a string

#### Return Value

Type: String
the object rendered as a string
Remarks

This is a convenience method used to render an object to a string. The alternative method [M:FindAndRender(object,TextWriter)] should be used when streaming output to a TextWriter.

See Also

#### Reference

RendererMap Class
FindAndRender Overload
log4net.ObjectRenderer Namespace