Discuss this help topic in SecureBlackbox Forum

TElBoxUserEmailAliases.IndexOf

TElBoxUserEmailAliases     See also     


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


Returns the index of the item in the list.

Declaration

[C#/Java]
    int IndexOf(TElBoxUserEmailAlias Alias);
    int IndexOf(string ID);

[VB.NET]
    Function IndexOf(ByVal Alias As TElBoxUserEmailAlias) As Integer
    Function IndexOf(ByVal ID As String) As Integer

[Pascal]
    function IndexOf(Alias: TElBoxUserEmailAlias): integer;
    function IndexOf(const ID: string): integer;

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

[PHP]
    integer IndexOf(TElBoxUserEmailAlias $Alias)
    integer IndexOf(string $ID)

Parameters

  • Alias - the alias which index is required.
  • ID - the ID of the alias.

Return value

    Returns the index of the desired email alias in the list. If the alias is not in the list, returns -1.

Description

    Use this property to get the index of the desired item in the list.

See also:     Items    

Discuss this help topic in SecureBlackbox Forum