IEnumTopologyParent Interface

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

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.

IEnumTopologyParent.Count Property

The count of parents of this topology element.

Public ReadOnly Property Count As Integer
public int Count {get;}

IEnumTopologyParent.Next Method

Returns the next parent of this topology element.

Public Function Next ( _
) As esriTopologyParent
public esriTopologyParent Next (
);

IEnumTopologyParent.Reset Method

Resets this eumerator.

Public Sub Reset ( _
)
public void Reset (
);

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.