Compare value against IPAddress, byte array, UInt32, IpAddress of OctetString class value.

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
Type: IPAddress or byte Array or UInt32 or IpAddress or OctetString

Return Value

0 if class values are the same, -1 if current class value is less then or 1 if greater then the class value we are comparing against.

Implements

IComparable..::..CompareTo(Object)

See Also