Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelCollection.IndexOf�Method�

Returns the zero-based index of the first occurrence of a Level in the LevelCollection.

[Visual�Basic]
Overridable�Public�Function�IndexOf( _
���ByVal item�As�Level�_
)�As�Integer
[C#]
public�virtual�int�IndexOf(
���Levelitem
);

Parameters

item
The Level to locate in the LevelCollection.

Return Value

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

See Also

LevelCollection Class | log4net.Core Namespace