Compares two IDs. This method returns -1 if this is less than
Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)
arg
, 1 if this is greater than arg
, and 0 if the IDs are equal. This comparison is consistent with how IDs are compared in the DB2 and Oracle databases, but does not match how MSSQL Server compares IDs. For MSSQL Server databases, use
.
Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function CompareTo( _ ByVal arg As Object _ ) As Integer _ Implements IComparable.CompareTo |
C# |
---|
public int CompareTo( object arg ) |
C++ |
---|
public: int CompareTo( Object arg ) sealed |
J# |
---|
public int CompareTo( object arg ) |
JScript |
---|
public
function CompareTo( arg : Object ) : int |
Parameters
- arg
- An
representing the ID against which to compare this ID.Object
Return Value
An
(-1, 1, or 0).