PluginCollection Item Property | Apache log4net™ SDK Documentation

Gets or sets the IPlugin at the specified index.

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

C#
VB
C++
F#
Copy

    public virtual IPlugin this[
    	int index
    ] { get; set; }

    Public Overridable Default Property Item (
    	index As Integer
    ) As IPlugin
    	Get
    	Set

    public:
    virtual property IPlugin^ default[int index] {
    	IPlugin^ get (int index);
    	void set (int index, IPlugin^ value);
    }

    abstract Item : IPlugin with get, set
    override Item : IPlugin with get, set

#### Parameters

index
  Type: System
  Int32
  The zero-based index of the element to get or set.

#### Property Value

Type: IPlugin
The IPlugin at the specified index.
Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count.

See Also

#### Reference

PluginCollection Class
log4net.Plugin Namespace