![]() |
This document is archived and information here might be outdated. Recommended version. |
Testing whether a schematic in-memory feature is a parent schematic feature or not
/// <summary>
/// Testing whether a schematic in-memory feature is a parent schematic feature or not
/// </summary>
/// <param name="schemInMemoryFeature">The SchematicInMemoryFeature for which you want to know whether it is a parent or not</param>
/// <returns>bool</returns>
public bool IsParentFromInMemoryFeature(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature schemInMemoryFeature)
{
ESRI.ArcGIS.Schematic.ISchematicRelationController schRelCont=new ESRI.ArcGIS.Schematic.SchematicRelationController();
return schRelCont.IsParent(schemInMemoryFeature);
}
''' <summary>
''' Testing whether a schematic in-memory feature is a parent schematic feature or not
''' </summary>
''' <param name="schemInMemoryFeature">The SchematicInMemoryFeature for which you want to know whether it is a parent or not</param>
''' <returns>Boolean</returns>
Public Function IsParentFromInMemoryFeature(ByVal schemInMemoryFeature As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature) As Boolean
Dim schRelCont As ESRI.ArcGIS.Schematic.ISchematicRelationController=New ESRI.ArcGIS.Schematic.SchematicRelationController()
Return schRelCont.IsParent(schemInMemoryFeature)
End Function