log4net SDK Documentation - Microsoft .NET Framework 4.0

LevelCollection.Contains Method 

Determines whether a given Level is in the LevelCollection.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal item As Level _
) As Boolean
[C#]
public virtual bool Contains(
   Level item
);

Parameters

item
The Level to check for.

Return Value

true if item is found in the LevelCollection; otherwise, false.

See Also

LevelCollection Class | log4net.Core Namespace