Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 


DataTree     See also    

Changes the name of the key


    bool RenameKey(char* Key, char* NewName);

    function RenameKey(Key, NewName : string): Boolean;

    not applicable;

    not applicable;

    public bool RenameKey(string Key, string NewName);

    Public Function RenameKey(ByVal Key As String, ByVal NewName As String) As Boolean

    public boolean RenameKey(String Key, String NewName);

[Java ME]
    public boolean RenameKey(String Key, String NewName);

    not applicable;


  • Key - key name. For more information look here.
  • NewName - new name of the key.

Return value

    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.

See also:     CurentKey     RenameValue     MoveEntry