PluginAttribute CreatePlugin Method | Apache log4net™ SDK Documentation

Creates the plugin object defined by this attribute.

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

C#
VB
C++
F#
Copy

    public IPlugin CreatePlugin()

    Public Function CreatePlugin As IPlugin

    public:
    virtual IPlugin^ CreatePlugin() sealed

    abstract CreatePlugin : unit -> IPlugin
    override CreatePlugin : unit -> IPlugin

#### Return Value

Type: IPlugin
The plugin object.

#### Implements

IPluginFactory
CreatePlugin
Remarks

Creates the instance of the IPlugin object as specified by this attribute.

See Also

#### Reference

PluginAttribute Class
log4net.Config Namespace