Returns the iterator that can be used for iteration or item retrieval.
Syntax: |
---|
DlxFolder.GetChildItemIterator() |
Return Value
A DlxIterator value that can be used for iteration or item retrieval; Invalid iterator if the folder is empty. Call the IsValid() method to determine if the iterator is valid.
Example
Copy code | |
---|---|
var folder = DlxApp.GetJob().GetFolder("folder1");
if (folder.IsValid())
{
var i = folder.GetChildItemIterator();
while (i.IsValid())
{
var item = folder.GetNextChildItem(i);
DlxApp.Printf(item.GetName());
}
}
|