log4net SDK Reference

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(
   Level item
);

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.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.IndexOf(log4net.Core.Level)

See Also

LevelCollection Class | log4net.Core Namespace