log4net SDK Reference |

# ConfiguratorAttribute.CompareTo Method

Compare this instance to another ConfiguratorAttribute

[Visual Basic]
NotOverridable Public Function CompareTo( _
ByVal obj As Object _
) As Integer _
Implements IComparable.CompareTo
[C#]
public int CompareTo(
object obj
);

#### Parameters

obj
  the object to compare to

#### Return Value

see CompareTo

#### Implements

IComparable.CompareTo

#### 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

ConfiguratorAttribute Class | log4net.Config Namespace