PluginMap Item Property | Apache log4net™ SDK Documentation

Gets a IPlugin by name.

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

C#
VB
C++
F#
Copy

    public IPlugin this[
    	string name
    ] { get; }

    Public ReadOnly Default Property Item (
    	name As String
    ) As IPlugin
    	Get

    public:
    property IPlugin^ default[String^ name] {
    	IPlugin^ get (String^ name);
    }

    member Item : IPlugin with get

#### Parameters

name
  Type: System
  String
  The name of the IPlugin to lookup.

#### Return Value

Type: IPlugin
The IPlugin from the map with the name specified, or null if no plugin is found.
Remarks

Lookup a plugin by name. If the plugin is not found null will be returned.

See Also

#### Reference

PluginMap Class
log4net.Plugin Namespace