Discuss this help topic in SecureBlackbox Forum

TElBoxGroups.IndexOf

TElBoxGroups     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Returns group's index in the list.

Declaration

[C#]
    int IndexOf(string ID);
    int IndexOf(TElBoxGroup Group);

[VB.NET]
    Function IndexOf(ByVal ID As String) As Integer
    Function IndexOf(ByVal Group As TElBoxGroup) As Integer

[Pascal]
    function IndexOf(const ID: string): integer;
    function IndexOf(Group: TElBoxGroup): integer;

[C++]
    int32_t IndexOf(const std::string &ID);
    int32_t IndexOf(TElBoxGroup &Group);
    int32_t IndexOf(TElBoxGroup *Group);

[PHP]
    integer IndexOf(string $ID)
    integer IndexOf(TElBoxGroup $Group)

[Java]
    int indexOf(TElBoxGroup Group);
    int indexOf(String ID);

Parameters

  • ID - the ID of the group under question.
  • Group - the group object.

Return value

    If the group is found in the list, returns its index. Otherwise, returns -1.

Description

    Use this method to check if the specified group is present in the list and get its index.

See also:     Item    

Discuss this help topic in SecureBlackbox Forum