XmlHierarchyConfigurator FindAppenderByReference Method | Apache log4net™ SDK Documentation

Parse appenders by IDREF.

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

C#
VB
C++
F#
Copy

    protected IAppender FindAppenderByReference(
    	XmlElement appenderRef
    )

    Protected Function FindAppenderByReference (
    	appenderRef As XmlElement
    ) As IAppender

    protected:
    IAppender^ FindAppenderByReference(
    	XmlElement^ appenderRef
    )

    member FindAppenderByReference :
            appenderRef : XmlElement -> IAppender

#### Parameters

appenderRef
  Type: System.Xml
  XmlElement
  The appender ref element.

#### Return Value

Type: IAppender
The instance of the appender that the ref refers to.
Remarks

Parse an XML element that represents an appender and return the appender.

See Also

#### Reference

XmlHierarchyConfigurator Class
log4net.Repository.Hierarchy Namespace