Exact comparison of two Oid values

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

Syntax

C#
public int CompareExact(
	uint[] ids
)
Visual Basic
Public Function CompareExact ( _
	ids As UInteger() _
) As Integer
Visual C++
public:
int CompareExact(
	array<unsigned int>^ ids
)

Parameters

ids
Type: array<System..::..UInt32>[]()[][]
Array of unsigned integers to compare against

Return Value

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

Remarks

This method is required for cases when exact comparison is required and not lexographical comparison. This method will compare the lengths first and, if not the same, make a comparison determination based on it before looking into the data.

See Also