Level Equals Method | Apache log4net™ SDK Documentation

Compares levels.

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

C#
VB
C++
F#
Copy

    public override bool Equals(
    	Object o
    )

    Public Overrides Function Equals (
    	o As Object
    ) As Boolean

    public:
    virtual bool Equals(
    	Object^ o
    ) override

    abstract Equals :
            o : Object -> bool
    override Equals :
            o : Object -> bool

#### Parameters

o
  Type: System
  Object
  The object to compare against.

#### Return Value

Type: Boolean
true if the objects are equal.
Remarks

Compares the levels of Level instances, and defers to base class if the target object is not a Level instance.

See Also

#### Reference

Level Class
log4net.Core Namespace