Discuss this help topic in MsgConnect Forum

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



DataTree.ClearKey

DataTree     See also    


Removes all values and subkeys from the specified key and deletes all associated data.

Declaration

[C++]
    bool ClearKey(char* Key);

[Pascal]
    function ClearKey(Key : string): Boolean;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool ClearKey(string Key);

[VB.NET]
    Public Function ClearKey(ByVal Key As String) As Boolean

[Java]
    public boolean ClearKey(String Key);

[Java ME]
    public boolean ClearKey(String Key);

[DLL]
    not applicable;

Parameters

  • Key - key name. For more information look here.

Return value

    True on success.
    False on failure.

Description

    Use this method to clear not the whole tree, but only one branch.

See also:     Clear     Delete

Discuss this help topic in MsgConnect Forum