Discuss this help topic in MsgConnect Forum

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



DataTree.CopyEntry

DataTree     See also    


Copies keys inside one tree.

Declaration

[C++]
    bool CopyEntry(char* Key, char* ValueName, char *NewKey, bool CopySubKeys, bool CopyValue);

[Pascal]
    function CopyEntry(Key, ValueName, NewKey : string; CopySubKeys, CopyValue: Boolean): Boolean;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool CopyEntry(string Key, string ValueName, string NewKey, bool CopySubKeys, bool CopyValue);

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

[Java]
    public boolean CopyEntry(String Key, String ValueName, String NewKey, boolean CopySubKeys, boolean CopyValue);

[Java ME]
    public boolean CopyEntry(String Key, String ValueName, String NewKey, boolean CopySubKeys, boolean CopyValue);

[DLL]
    not applicable;

Parameters

  • Key - name of the key you want to delete. For more information look here.
  • ValueName - if you want to copy only one value set its name here. If you don't set this parameter then all values will be copied. For more information look here
  • NewKey - path to the new key
  • CopySubKeys - set this parameter to true if you want to copy subkeys.
  • CopyValue - set this parameter to true if you want to copy key values.

Return value

    True on success.
    False on failure.

Description

    Use this method to copy keys or values inside one tree.

Discuss this help topic in MsgConnect Forum