Discuss this help topic in SecureBlackbox Forum

TElBoxGroups.IndexOf

TElBoxGroups     See also     


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


Returns group's index in the list.

Declaration

[C#/Java]
    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)

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