Discuss this help topic in MsgConnect Forum

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



DataTree.RenameValue

DataTree     See also    


Changes the name of the value.

Declaration

[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);

[DLL]
    not applicable;

Parameters

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

Return value

    True on success.
    False on failure.

Description

    Use this method to change the name of the value.
    Note: value can not be moved this way. Use MoveEntry method for this purpose.

See also:     MoveEntry     RenameKey

Discuss this help topic in MsgConnect Forum