DataTree.RenameKey
Changes the name of the key
[C++]
bool RenameKey(char* Key, char* NewName);
[Pascal]
function RenameKey(Key, NewName : string): Boolean;
[VB6]
not applicable;
[ActiveX]
not applicable;
[C#]
public bool RenameKey(string Key, string NewName);
[VB.NET]
Public Function RenameKey(ByVal Key As String, ByVal NewName As String) As Boolean
[Java]
public boolean RenameKey(String Key, String NewName);
[Java ME]
public boolean RenameKey(String Key, String NewName);
[Palm]
bool RenameKey(char* Key, char* NewName);
[DLL]
not applicable;
- Key - key name. For more information look here.
- NewName - new name of the key.
True on success.
False on failure.
Use this method to change name of the key.
Note: key can not be moved this way. It is not poddible to rename a key from 'Key' to '\AKey\ASubKey\NewName'. Use MoveEntry method for this purpose.
|