Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PluginCollection.Item Property

Gets or sets the IPlugin at the specified index.

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

Parameters

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

Property Value

The IPlugin at the specified index.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

See Also

PluginCollection Class | log4net.Plugin Namespace