Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / CatalogNodeCollection Class / IndexOf Method / IndexOf(IList<CatalogNode>,Int32,Int32,Byte) Method
The list of catalog node items.
Value of CategoryId of the required object.
Value of CatalogNodeId of the required object.
Value of CatalogNodeTypeId of the required object.
In This Topic
    IndexOf(IList<CatalogNode>,Int32,Int32,Byte) 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.
    categoryId
    Value of CategoryId of the required object.
    catalogNodeId
    Value of CatalogNodeId of the required object.
    catalogNodeTypeId
    Value of CatalogNodeTypeId of the required object.

    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