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


IEnumTopologyParent Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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

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.

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.

.NET Related Topics

Working with topologically related features