Compare class contents with the address stored in the supplied IPAddress class.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)

Syntax

C#
public int CompareTo(
	IPAddress other
)
Visual Basic (Declaration)
Public Function CompareTo ( _
	other As IPAddress _
) As Integer
Visual C++
public:
virtual int CompareTo(
	IPAddress^ other
) sealed

Parameters

other
Type: System.Net..::.IPAddress
IPAddress class to compare with.

Return Value

0 if contents are the same, -1 if current class is less or 1 if greater then supplied class.

Implements

IComparable<(Of <(T>)>)..::.CompareTo(T)

See Also