Iterates to the next component and retrieves it. For an example of how to use the Next method in VBA, see Reliably Access Sheet Set Components.
After an element is returned using the Next method, you can perform operations on it. The collection should be treated as read-only. Elements should not be removed during iteration because removing elements can result in inconsistencies.
The caller must release the allocated data and the interface when the operation is complete.