GeoEco.Datasets.InsertCursor.SetGeometry
- InsertCursor.SetGeometry(geometry)
Sets the geometry of the new row.
This method will fail if the cursor’s
Tabledoes not have geometry. To determine if it has geometry, check theGeometryTypeproperty of theTableinstance.Note
The new row is not actually submitted through the underlying programming library to the underlying data store until
InsertRow()is called. If you callSetGeometry()but then neglect to callInsertRow()before closing the cursor, your row will not be inserted.