Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelCollection.Item Property

Gets or sets the Level at the specified index.

[Visual�Basic]
Overridable�Public�Default�Property�Item( _
���ByVal index�As�Integer�_
)�As�Level
[C#]
public�virtual�Level�this[
���intindex
]�{get;�set;}

Parameters

index
The zero-based index of the element to get or set.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

LevelCollection Class | log4net.Core Namespace