ArcFM Responder Mobile Developer Guide
CompareTo Method (ArcFMDatabaseVersion)






The database version to compare to.
Compares this database version with another.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As System.Integer _
) As System.Integer
'Usage
 
Dim instance As ArcFMDatabaseVersion
Dim other As System.Integer
Dim value As System.Integer
 
value = instance.CompareTo(other)
public System.int CompareTo( 
   System.int other
)
public function CompareTo( 
    other: System.Integer
): System.Integer; 
public function CompareTo( 
   other : System.int
) : System.int;
public: System.int CompareTo( 
   System.int other
) 
public:
System.int CompareTo( 
   System.int other
) 

Parameters

other
The database version to compare to.

Return Value

1 if this database version is newer, -1 if this database version is older, or 0 if the two versions are the same.
Remarks
At the 10.0.3 release, database version numbers changed from a build number to a true data version number starting at 1. All supported versions at this time have build numbers greater than 2000. Any version numbers greater than 2000 are assumed to be build numbers and therefore older than the db version number 1. Any version numbers less than 2000 are assumed to be true database version numbers, newer than 2000 or anything higher.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ArcFMDatabaseVersion Class
ArcFMDatabaseVersion Members

Send Feedback