| LogLevelCompareTo Method (Object) |
Compares the level to the other
LogLevel object.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public int CompareTo(
Object obj
)
Public Function CompareTo (
obj As Object
) As Integer
Dim instance As LogLevel
Dim obj As Object
Dim returnValue As Integer
returnValue = instance.CompareTo(obj)
abstract CompareTo :
obj : Object -> int
override CompareTo :
obj : Object -> int
Parameters
- obj
- Type: SystemObject
The other object.
Return Value
Type:
Int32
A value less than zero when this logger's
Ordinal is
less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
Implements
IComparableCompareTo(Object)See Also