ArcFM Desktop Developer Guide
CompareTo Method (ArcFMDatabaseVersion)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The database version to compare to.
Compares this database version with another.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As Integer _
) As Integer
'Usage
 
Dim instance As ArcFMDatabaseVersion
Dim other As Integer
Dim value As Integer
 
value = instance.CompareTo(other)
public int CompareTo( 
   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 XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ArcFMDatabaseVersion Class
ArcFMDatabaseVersion Members

 

 


Send Comment