Question
KPMG LLP
US
Last activity: 30 Apr 2018 14:22 EDT
Clone Collection iteration
Hello
I am curious to see the options available to me with respects to clones.
I am using the GetClones() method in order to interogate several identical items on a page which correspond to objects. The Getclones method works and returns a CloneCollection.
My question is related to iterating this collection.
Is the only way to iterate using a for loop - Meaning the ENTIRE collection would have to be iterated through?
Or is there a way i can index a specific value ie. if my CloneCollection is 10 items long, can i index item 5 without having to use a for loop and iterate 0 to 4?
Thankyou in advance.