Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / IdList Class / IndexOf Method
Id of the item to get index for
In This Topic
    IndexOf Method (IdList)
    In This Topic
    Gets the index of a given item in this list
    Syntax
    public int IndexOf( 
       int id
    )

    Parameters

    id
    Id of the item to get index for

    Return Value

    Index of the required item in this list
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also