Returns the zero-based index of current configuration among its sibling configurations. If current configuration is the root configuration, then zero is returned.
int ConfigurationIndex([bool ignoreOtherProducts])
ignoreOtherProducts |
Optional filter to only count sibling configurations of the same product as current configuration. |
Example
ConfigurationIndex()