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