DataTree.CopyEntry
Copies keys inside one tree.
[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);
[Palm]
bool CopyEntry(char* Key, char* ValueName, char *NewKey,
bool CopySubKeys, bool CopyValue);
[DLL]
not applicable;
- 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.
True on success.
False on failure.
Use this method to copy keys or values inside one tree.
|