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

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


DataTree.Delete

DataTree     See also    


Deletes key or value.

Declaration

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

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

[VB6]
    not applicable;

[ActiveX]
    not applicable;

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

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

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

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

[Palm]
    bool Delete(char* Key, char* ValueName);

[DLL]
    not applicable;

Parameters

  • Key - key name. For more information look here.
  • ValueName - name of the value you want to delete. If you don't set this parameter then key with all subkeys and values will be deleted. For more information look here.

Return value

    True on success
    False if non-existent value or root key is specified.

Description

    Use this method to delete key or value. If you delete key all its values and subkeys are deleted.

See also:     Clear     ClearKey    

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