Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / CatalogNodeCollection Class / IndexOf Method / IndexOf(IList<CatalogNode>,Int32,CatalogNodeType) Method
The list of catalog node items.
Id of the catalog node to locate.
Type of the catalog node to locate.
In This Topic
    IndexOf(IList<CatalogNode>,Int32,CatalogNodeType) Method
    In This Topic
    Gets the index of the CatalogNode object in this collection whose primary key matches the given value.
    Syntax

    Parameters

    items
    The list of catalog node items.
    catalogNodeId
    Id of the catalog node to locate.
    catalogNodeType
    Type of the catalog node to locate.

    Return Value

    Index of the required object.
    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