This document is archived and information here might be outdated. Recommended version. |
Retrieve all the schematic in-memory features that have a parent-child relation with a particular parent schematic in-memory feature
/// <summary> /// Retrieve all the schematic in-memory features that have a parent-child relation with a particular parent schematic in-memory feature /// </summary> /// <param name="schemInMemoryFeature">The parent SchematicInMemoryFeature for which you want to retrieve the children schematic in-memory features</param> /// <returns>The retrieved IEnumSchematicInMemoryFeature collection of children schematic features</returns> public ESRI.ArcGIS.Schematic.IEnumSchematicInMemoryFeature GetChildrenFromInMemoryFeature(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature schemInMemoryFeature) { ESRI.ArcGIS.Schematic.ISchematicRelationController schRelCont=new ESRI.ArcGIS.Schematic.SchematicRelationController(); return schRelCont.FindChildren(schemInMemoryFeature); }
''' <summary> ''' Retrieve all the schematic in-memory features that have a parent-child relation with a particular parent schematic in-memory feature ''' </summary> ''' <param name="schemInMemoryFeature">The parent SchematicInMemoryFeature for which you want to retrieve the children schematic in-memory features</param> ''' <returns>The retrieved IEnumSchematicInMemoryFeature collection of children schematic features</returns> Public Function GetChildrenFromInMemoryFeature(ByVal schemInMemoryFeature As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature) As ESRI.ArcGIS.Schematic.IEnumSchematicInMemoryFeature Dim schRelCont As ESRI.ArcGIS.Schematic.ISchematicRelationController=New ESRI.ArcGIS.Schematic.SchematicRelationController() Return schRelCont.FindChildren(schemInMemoryFeature) End Function