Discuss this help topic in MsgConnect Forum

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



DataTree.ValuesCount

DataTree     See also    


Returns the number of values in specified key.

Declaration

[C++]
    long ValuesCount(char* Key);

[Pascal]
    function ValuesCount(Key : string): Integer;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public int ValuesCount(string Key);

[VB.NET]
    Public Function ValuesCount(ByVal Key As String) As Integer

[Java]
    public int ValuesCount(String Key);

[Java ME]
    public int ValuesCount(String Key);

[DLL]
    not applicable;

Parameters

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

Return value

    Number of values in specifie key.

Description

    Use this method to get number of values in specified Key. If this key doesn't have values ValuesCount returns zero.

Discuss this help topic in MsgConnect Forum