lOverlayIndex

The index of the overlay whose group number is required. This should be a number from 0 to the count specified by the OverlayCount property minus 1.