IComparable interface implementation. Internally uses CompareExact(Oid) method to perform comparisons.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public int CompareTo(
	Object obj
)
Visual Basic
Public Function CompareTo ( _
	obj As Object _
) As Integer
Visual C++
public:
virtual int CompareTo(
	Object^ obj
) sealed

Parameters

obj
Type: System..::..Object

[Missing <param name="obj"/> documentation for "M:SnmpSharpNet.Oid.CompareTo(System.Object)"]

Return Value

1 if class is greater then argument, -1 if class value is less then argument, 0 if the same

Implements

IComparable..::..CompareTo(Object)

See Also