Share

acdbDictRename

C++

int acdbDictRename(
    const ads_name dictname, 
    const ACHAR* oldsym, 
    const ACHAR* newsym
);

File

acedads.h

Description

Renames a dictionary entry's key name.

If acdbDictRename() succeeds, it returns RTNORM. If the old name is not present in the dictionary, the dictname is invalid, the new name is invalid, or the new name is already present in the dictionary, it returns RTERROR and sets the system variable ERRNO to a value that indicates the reason for the failure.

Parameters

Parameters Description
dictname Dictionary in which to rename a key, as an entity name
oldsym Old key name, to be renamed
newsym New key name

Was this information helpful?