ObjectIdentifierCompare Method |
Compares the current object with another object of the same type.
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic int Compare(
ObjectIdentifier other
)
Public Function Compare (
other As ObjectIdentifier
) As Integer
Dim instance As ObjectIdentifier
Dim other As ObjectIdentifier
Dim returnValue As Integer
returnValue = instance.Compare(other)
public:
int Compare(
ObjectIdentifier^ other
)
member Compare :
other : ObjectIdentifier -> int
Parameters
- other ObjectIdentifier
- An object to compare with this object.
Return Value
Int32
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:
Value
Meaning
Less than zero
This object is less than the
other parameter.
Zero
This object is equal to
other.
Greater than zero
This object is greater than
other.
See Also