Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderPullItemCollection Class / IndexOf Method / IndexOf(String,String,String) Method
Sku of the item.
Name of the item.
Variant name of the item.
In This Topic
    IndexOf(String,String,String) Method
    In This Topic
    Returns the index of the matching item.
    Syntax
    public int IndexOf( 
       string sku,
       string name,
       string variantName
    )

    Parameters

    sku
    Sku of the item.
    name
    Name of the item.
    variantName
    Variant name of the item.

    Return Value

    The index of the matching item. -1 if not found.
    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