Compare two IpAddress classes

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: SnmpSharpNet..::.IpAddress
IpAddress class to compare with

Return Value

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

Implements

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

See Also