CyclicBuffer Item Property | Apache log4net™ SDK Documentation

Gets the ith oldest event currently in the buffer.

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

C#
VB
C++
F#
Copy

    public LoggingEvent this[
    	int i
    ] { get; }

    Public ReadOnly Default Property Item (
    	i As Integer
    ) As LoggingEvent
    	Get

    public:
    property LoggingEvent^ default[int i] {
    	LoggingEvent^ get (int i);
    }

    member Item : LoggingEvent with get

#### Parameters

i
  Type: System
  Int32

#### Property Value

Type: LoggingEvent
The ith oldest event currently in the buffer.
Remarks

If i is outside the range 0 to the number of events currently in the buffer, then null is returned.

See Also

#### Reference

CyclicBuffer Class
log4net.Util Namespace