Parameters
- index
- The index of the node. It cannot be a super node. Node indices start at 1. The first four nodes are super nodes, so data nodes start with index 5.
| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method must be called on the MCT. Use QueuedTask.Run. |
| ArcGIS.Core.Data.Exceptions.TinException | Invalid operation on a super node. |
| ArcGIS.Core.Data.Exceptions.TinException | The editor is not in edit mode. |
// Delete node by index tinEditor.DeleteNode(7); // Node indices start at 1. try { tinEditor.DeleteNode(0); } catch (ArgumentException) { // Handle the exception } // Can't delete a super node (indices 1 - 4) try { tinEditor.DeleteNode(2); } catch (TinException) { // Handle the exception }
Target Platforms: Windows 11, Windows 10