Discuss this help topic in SecureBlackbox Forum


TElBoxUsers     See also     

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

Performs a search over the list.


    int IndexOf(TElBoxUser User);
    int IndexOf(string ID);

    Function IndexOf(ByVal User As TElBoxUser) As Integer
    Function IndexOf(ByVal ID As String) As Integer

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

    int32_t IndexOf(TElBoxUser &User);
    int32_t IndexOf(TElBoxUser *User);
    int32_t IndexOf(const std::string &ID);

    integer IndexOf(TElBoxUser $User)
    integer IndexOf(string $ID)

    int indexOf(TElBoxUser User);
    int indexOf(String ID);


  • 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.


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

See also:     Items    

Discuss this help topic in SecureBlackbox Forum