LevelMap Item Property | Apache log4net™ SDK Documentation

Lookup a Level by name

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

C#
VB
C++
F#
Copy

    public Level this[
    	string name
    ] { get; }

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

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

    member Item : Level with get

#### Parameters

name
  Type: System
  String
  The name of the Level to lookup

#### Return Value

Type: Level
a Level from the map with the name specified
Remarks

Returns the Level from the map with the name specified. If the no level is found then null is returned.

See Also

#### Reference

LevelMap Class
log4net.Core Namespace