Compare class value with the contents of the array. Compare up to dist number of Oid values to determine equality.

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

Syntax

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

Parameters

ids
Type: array<System..::..UInt32>[]()[][]
Unsigned integer array to Compare with
dist
Type: System..::..Int32
Number of oid instance values to compare

Return Value

0 if equal, -1 if less then and 1 if greater then.

See Also