LevelCollectionIndexOf Method Apache log4net™ SDK Documentation
Returns the zero-based index of the first occurrence of a Level in the LevelCollection.

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

public virtual int IndexOf(
	Level item
)

Parameters

item
Type: log4net.CoreLevel
The Level to locate in the LevelCollection.

Return Value

Type: Int32
The zero-based index of the first occurrence of item in the entire LevelCollection, if found; otherwise, -1.
See Also

Reference