Wednesday, October 18, 2006

Repository Collections

Most capture collection objects support the Add and Remove methods (exceptions are IIndices, IChoices, Structure)

The below snippet of code illustrates a simple itteration through a collection in the Repository



Dim objRepParent as RepServerLib.RepObject
Dim objRepChild as RepServerLib.RepObject

[..]

For Each objRepChild in objRepParent.Contents
-- 'Do processing on the child
Next

No comments: