This document is archived and information here might be outdated.  Recommended version.


IEnumTopologyParent Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEnumTopologyParent Interface
ArcGIS Developer Help

IEnumTopologyParent Interface

Provides access to the set of parents of a topology element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Read-only property Count The count of parents of this topology element.
Method Next Returns the next parent of this topology element.
Method Reset Resets this eumerator.

Classes that implement IEnumTopologyParent

Classes Description

Remarks

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.