ArcGIS Developer Help  (GeoDatabase)    

ITopologyGraph.EdgeSelection Property

The enumerator for the selected edges of the topology.

[Visual Basic 6.0]
Property EdgeSelection As IEnumTopologyEdge
[Visual Basic .NET]
Public ReadOnly Property EdgeSelection As IEnumTopologyEdge
[C#]
public IEnumTopologyEdge EdgeSelection {get;}
[Java]
public  getEdgeSelection (
    IEnumTopologyEdge edgeEnumerator
)
[C++]
HRESULT get_EdgeSelection(
  IEnumTopologyEdge** edgeEnumerator
);
[C++]

Parameters

edgeEnumerator [out, retval]

  edgeEnumerator is a parameter of type IEnumTopologyEdge

Product Availability

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

Description

That method returns an IEnumTopologyEdge enumerator. The enumerator contains reference to objects of type ITopologyEdge. Use that method to access the selected edges of a TopologyGraph.

[Visual Basic 6.0]

'Here is VB example

Dim penumTopoEdge As IEnumTopologyEdge
Dim ptopoEdge As ITopologyEdge
Set penumTopoEdge = ptopoGraph.EdgeSelection
penumTopoEdge.Reset
Set ptopoEdge = penumTopoEdge.Next
While ptopoEdge Is Nothing
   'Do something with the TopologyEdge here
   Set ptopoEdge = penumTopoEdge.Next
Wend

See Also

ITopologyGraph Interface

 


Feedback Send feedback on this page