Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AppenderCollection.Item Property

Gets or sets the IAppender at the specified index.

[Visual�Basic]
Overridable�Public�Default�Property�Item( _
���ByVal index�As�Integer�_
)�As�IAppender
[C#]
public�virtual�IAppender�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

AppenderCollection Class | log4net.Appender Namespace