GetEnumerator Method (KeyValueEqualRecordCollection)
- Last UpdatedApr 08, 2026
- 1 minute read
Retrieves the enumerator related to this collection.
public override KeyValueEqualBaseRecordCollectionEnumerator GetEnumerator()
public:
KeyValueEqualBaseRecordCollectionEnumerator^ GetEnumerator(); override
Return Value
An instance of the enumerator.
The returned OASySDNA.RealTime.HighPerformanceSetDB.KeyValueEqualBaseRecordCollectionEnumerator object should be downcast to a KeyValueEqualRecordCollection.Enumerator to access the correct versions of the methods and properties. Each iteration returns the same OASySDNA.RealTime.HighPerformanceSetDB.RealTimeBaseRecord object, where the object will rebind to a new record number each iteration. As a consequence, disposing of the OASySDNA.RealTime.HighPerformanceSetDB.RealTimeBaseRecord object will cause future iterations to fail.