Returns a new iterator for the elements in this model. The caller is responsible for ending the iterator. If the element iterator owns its elements, only the current element is valid, previous ones cannot be used. If the element iterator does not own its elements, previously iterated elements can be used. The caller is responsible for ending those elements.

Return Value

An OplElementIterator for the model elements.

Namespace: ILOG.OPL
Assembly: oplall (in oplall.dll)

Syntax

C#
public IEnumerator GetElementEnumerator(
	bool ownElements
)

Parameters

ownElements
Type: System..::..Boolean
If this parameter is set to , the iterator does not own the elements it iterates.

See Also