Discuss this help topic in MsgConnect Forum

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



DataTree.MoveEntry

DataTree     See also    


Moves key or value from one key to another.

Declaration

[C++]
    bool MoveEntry(char* Key, char* ValueName, char* NewKey);

[Pascal]
    function MoveEntry(Key, ValueName, NewKey : string): Boolean;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool MoveEntry(string Key, string ValueName,string NewKey);

[VB.NET]
    Public Function MoveEntry(ByVal Key As String, ByVal ValueName As String, ByVal NewKey As String) As Boolean

[Java]
    public boolean MoveEntry(String Key, String ValueName,String NewKey);

[Java ME]
    public boolean MoveEntry(String Key, String ValueName,String NewKey);

[DLL]
    not applicable;

Parameters

  • Key - copied key. For more information look here.
  • ValueName - copied value. If you don't set it the whole key will be copied. For more information look here
  • NewKew - path to the new key.

Return value

    True on success.
    False on failure.

Description

    Use this method to move key or value from one key to another. To rename key or value use RenameKey or RenameValue methods.

See also:     RenameKey     RenameValue

Discuss this help topic in MsgConnect Forum