attachToIndex

Attaches the specified object to the specified index.