Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariantManager Class / GetOptionChoicesByIndex Method
Index in the variant matrix to retrive choices for
In This Topic
    GetOptionChoicesByIndex Method
    In This Topic
    Gets the option choices given the index in the variant matrix
    Syntax
    public int[] GetOptionChoicesByIndex( 
       int index
    )

    Parameters

    index
    Index in the variant matrix to retrive choices for

    Return Value

    Option choices for the given index in the variant matrix
    Remarks
    This will return at least eight choices as supported by the database, more if available for the product. If the product has less than eight choices, the array is padded with zeros.
    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