Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariantManager Class / IndexOf Method
The variant to find in the grid
In This Topic
    IndexOf Method (ProductVariantManager)
    In This Topic
    Determines the index of the variant within the grid
    Syntax
    public int IndexOf( 
       ProductVariant variant
    )

    Parameters

    variant
    The variant to find in the grid

    Return Value

    The index of the variant, or -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