EldoS
MsgConnect home / Documentation / DataTree.CopyToDataTree method
Navigation
Web site
Support
Table Of Contents

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


DataTree.CopyToDataTree

DataTree     See also    


Copies key from one tree to another.

Declaration

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

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

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool CopyToDataTree(String Key, string ValueName, MCDataTree NewTree, string NewKey, bool CopySubKeys, bool CopyValue);

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

[Java]
    public boolean CopyToDataTree(String Key, String ValueName, MCDataTree NewTree, String NewKey, boolean CopySubKeys, boolean CopyValue);

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

[Palm]
    bool CopyToDataTree(char* Key, char* ValueName, MCDataTree* NewTree, char *NewKey, bool CopySubKeys, bool CopyValue);

[DLL]
    not applicable;

Parameters

  • Key - name of the key you want to copy. 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.
  • NewTree - name of the tree to wich you copy keys
  • 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 key from one tree to another.

See also:     CopyEntry

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation