This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEnumTopologyParent Interface (ArcObjects .NET 10.4 SDK) |
Provides access to the set of parents of a topology element.
Description | ||
---|---|---|
Count | The count of parents of this topology element. | |
Next | Returns the next parent of this topology element. | |
Reset | Resets this eumerator. |
Unlike most enumerators in the Geodatabase API, the Next method of this interface does not return objects, but esriTopologyParent structs. Since structs are a value types, checking whether a return value is null should not be used as a conditional statement to iterate through the enumerator's values (it will never be null). However, this interface provides a Count property, which can be used to iterate through the values a specific number of times, instead of checking for a terminating condition such as a null value.