Discuss this help topic in SecureBlackbox Forum

TElBoxUsers.IndexOf

TElBoxUsers     See also     


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


Performs a search over the list.

Declaration

[C#]
    int IndexOf(TElBoxUser User);
    int IndexOf(string ID);

[VB.NET]
    Function IndexOf(ByVal User As TElBoxUser) As Integer
    Function IndexOf(ByVal ID As String) As Integer

[Pascal]
    function IndexOf(User: TElBoxUser): integer;
    function IndexOf(const ID: string): integer;

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

[PHP]
    integer IndexOf(TElBoxUser $User)
    integer IndexOf(string $ID)

[Java]
    int indexOf(TElBoxUser User);
    int indexOf(String ID);

Parameters

  • User - the user to search for.
  • ID - user's unique ID to search for.

Return value

    Returns the index of the user in the list. If the user is not in the list, returns -1.

Description

    Use this method to get the index of the specific user in the list.

See also:     Items    

Discuss this help topic in SecureBlackbox Forum