ConfiguratorAttribute CompareTo Method | Apache log4net™ SDK Documentation

Compare this instance to another ConfiguratorAttribute

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

C#
VB
C++
F#
Copy

    public int CompareTo(
    	Object obj
    )

    Public Function CompareTo (
    	obj As Object
    ) As Integer

    public:
    virtual int CompareTo(
    	Object^ obj
    ) sealed

    abstract CompareTo :
            obj : Object -> int
    override CompareTo :
            obj : Object -> int

#### Parameters

obj
  Type: System
  Object
  the object to compare to

#### Return Value

Type: Int32
see CompareTo(Object)

#### Implements

IComparable
CompareTo(Object)
Remarks

Compares the priorities of the two ConfiguratorAttribute instances. Sorts by priority in descending order. Objects with the same priority are randomly ordered.

See Also

#### Reference

ConfiguratorAttribute Class
log4net.Config Namespace