IAcSmEnumFileReference.Next

AutoCAD Sheet Set Manager API

Up a level to IAcSmEnumFileReference      
IAcSmEnumFileReference.Next Method

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.

If the return value is S_OK, iteration can continue. If the return value is S_FALSE, iteration must stop. The macro SUCCEEDED should not be used to determine success or failure.

The caller must release the interface when the operation is complete.

Syntax

Next() As IAcSmFileReference

   Comments?