This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Change An In-Memory Link Schematic Feature Extremity Node Snippet (ArcObjects .NET 10.4 SDK) |
Change the extremity node of an in-memory schematic link
/// <summary> /// Change the extremity node of an in-memory schematic link /// </summary> /// <param name="schemLink">The ISchematicInMemoryFeatureLink which extremity node must be changed</param> /// <param name="newToNode">The new ISchematicInMemoryFeatureNode extremity node</param> /// <param name="newToPort">The new extremity port the schematic link must connect to</param> public void ChangeToNode(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureLink schemLink, ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureNode newToNode, int newToPort) { schemLink.ToNode=newToNode; schemLink.ToPort=newToPort; }
''' <summary> ''' Change the extremity node of an in-memory schematic link ''' </summary> ''' <param name="schemLink">The ISchematicInMemoryFeatureLink which extremity node must be changed</param> ''' <param name="NewToNode">The new ISchematicInMemoryFeatureNode extremity node</param> ''' <param name="NewToPort">The new extremity port the schematic link must connect to</param> Public Sub ChangeToNode(ByVal schemLink As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureLink, ByVal NewToNode As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureNode, ByVal NewToPort As Integer) schemLink.ToNode=NewToNode schemLink.ToPort=NewToPort End Sub