PluginAttribute Constructor (String) | Apache log4net™ SDK Documentation

Initializes a new instance of the PluginAttribute class with the specified type.

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

C#
VB
C++
F#
Copy

    public PluginAttribute(
    	string typeName
    )

    Public Sub New (
    	typeName As String
    )

    public:
    PluginAttribute(
    	String^ typeName
    )

    new :
            typeName : string -> PluginAttribute

#### Parameters

typeName
  Type: System
  String
  The type name of plugin to create.

Remarks

Create the attribute with the plugin type specified.

Where possible use the constructor that takes a Type.

See Also

#### Reference

PluginAttribute Class
PluginAttribute Overload
log4net.Config Namespace