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


ITopologyGraph.SelectionCount Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopologyGraph.SelectionCount Property

The count of selected elements of the specified types; whichElements is a bitwise combination of esriTopologyElement values.

[Visual Basic .NET]
Public Function get_SelectionCount ( _
    ByVal whichElements As Integer _
) As Integer
[C#]
public int get_SelectionCount (
    int whichElements
);
[C++]
HRESULT get_SelectionCount(
  long whichElements,
  System.Int32* Count
);
[C++]

Parameters whichElements
whichElements is a parameter of type long Count [out, retval]
Count is a parameter of type long*

Product Availability

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

Description

This method returns the number of selected TopologyElements (TopologyNode and/or TopologyEdge) in the TopologyGraph.

Remarks

whichElements is a bitwise combination of esriTopologyElement values.

See Also

ITopologyGraph Interface