LevelCollection IndexOf 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: 1.2.15.0 (1.2.15.0)
Syntax

public virtual int IndexOf(
	Level item
)

Return Value

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