Maptitude GISDK Help

RenameDatabase()

Summary

Renames a geographic file.

 

Syntax

RenameDatabase(string old_name, string new_name)

 

Argument Contents
old_name The full path and file name of the geographic file
new_name The full path and new file name of the geographic file

 

Notes

Example

RenameDatabase("c:\\data\\states.cdf", " c:\\data\\mystate.cdf")

 

Error Codes

Error Type Meaning
Error The file extensions of old_file and new_file do not match

 

See Also

Function Summary
DeleteDatabase() Deletes a standard or compact geographic file
CopyDatabase() Copies either a standard- or compact-format geographic file

 

 

©2025 Caliper Corporation www.caliper.com