ArcObjects Library Reference (GeoDatabase)  

ITopologyGraph.SetParentSelected Method

Selects parents of edges. SUbsequent edits to those edges will only be posted back to selected parents.

[Visual Basic .NET]
Public Function SetParentSelected ( _
    ByVal FeatureClass As IFeatureClass, _
    ByVal fID As Integer, _
    ByVal selected As Boolean _
) As Boolean
public bool SetParentSelected (
    IFeatureClass FeatureClass,
    int fID,
    bool selected
HRESULT SetParentSelected(
  IFeatureClass* FeatureClass,
  long fID,
  VARIANT_BOOL selected,
  VARIANT_BOOL* edgeSelectionChanged



  FeatureClass is a parameter of type IFeatureClass

fID   fID is a parameter of type long selected   selected is a parameter of type VARIANT_BOOL edgeSelectionChanged [out, retval]   edgeSelectionChanged is a parameter of type VARIANT_BOOL

Product Availability

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


This method allows you to control which features (TopologyParents) are affected by the next topology graph operation.


A topology parent is a feature associated with a topology element (a topology node or topology edge). A parent can have two states; selected or unselected. This state determines if the feature will be affected by the next topology graph operation.

There is a difference between the topology selection and the parent selection. The topology selection is all the selected topology elements (Ex: ITopologyGraph::EdgeSelection or ITopologyGraph::NodeSelection). The parent selection is the state of the parent features and is independent from the topology selection. By default, for a given topology element, all of its parents are selected. However it is possible to explicitly unselect one or more parents so the element is still selected but not all of the parents are. After any operation on the topology graph the parent selection will be reset to default state (all parents selected).

See Also

ITopologyGraph Interface