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