![]() Returns the current position of the cursor in the row set. Will be delivered, as previously set by SetNotificationUri(ContentResolver, Uri). ![]() Return the URI at which notifications of changes in this Cursor's data ![]() Returns whether the cursor is pointing to the last row. Returns whether the cursor is pointing to the first row. Returns whether the cursor is pointing to the position before the first Returns whether the cursor is pointing to the position after the last Gets the JNI value of the underlying Android object. Returns the numbers of rows in the cursor. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. Parameters: buffer - A reference to a .IFeatureBuffer (in)ĪutomationException Flush any outstanding buffered writes to the database.ICursor IJavaObject IJavaPeerable ICloseable IDisposable Remarks This method should only be called on insert cursors. InsertFeature Object insertFeature( IFeatureBuffer buffer)ĪutomationException Insert a new Feature into the database using the property values in the input buffer. To delete a feature retrieved from a search cursor, call IFeature.Delete on the feature itself. This should only be called on update cursors. ![]() The cursor must be initialized to a feature (with the NextFeature() method) before this method can be successfully called. Parameters: object - A reference to a .IFeature (in)ĪutomationException Delete the existing Feature in the database corresponding to the current position of the cursor. This method should only be called on update cursors. Returns: A reference to a .IFeature Throws: IOException - If there are interop problems.ĪutomationException Update the existing Feature in the database corresponding to the current position of the cursor. Rely on its spatial reference being a specified spatial IFeature::Shape) if you retrieve the geometry at a later time and Reference or the geometry you get from the feature (via It is the developers responsibility to test the spatial In particular, if you use a non recyclingĬursor, then the feature you fetch will be shared with otherĬonsumers and any one of these may change its spatial reference atĪny time. That the geometry of the feature will continue to remain in this Guaranteed to be in the spatial reference that you specified Spatial reference of the feature, as returned by NextFeature, is Returns: A reference to a .IFields Throws: IOException - If there are interop problems.ĪutomationException Advance the position of the cursor by one and return the Feature object at that position.Ī geodatabase using a cursor (recycling or non recycling), the Throws: IOException - If there are interop problems.ĪutomationException - If the ArcObject component throws an exception.ĪutomationException The fields Collection for this cursor. If the specified field cannot be found, this method returns a value of -1. Update the existing Feature in the database corresponding to the current position of the cursor.ĪutomationException The index of the field with the specified name. Insert a new Feature into the database using the property values in the input buffer.Īdvance the position of the cursor by one and return the Feature object at that position. The index of the field with the specified name.įlush any outstanding buffered writes to the database. In other words, a cursor should be created after an edit operation has begun and should not be used once that edit operation has been stopped or aborted.Īvailable with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.ĭelete the existing Feature in the database corresponding to the current position of the cursor. When using cursors within an edit session, they should always be scoped to edit operations. For more information, see the IFeatureRenderer::Draw method. You can also draw the features from a cursor on the display. This saves you from having to use Query-Interface when dealing with features rather than rows.įeature cursors can be used as an input to IFeatureCursorBuffer, which lets you spatially buffer the features by a distance. It operates in the same way as ICursor, although it does not inherit from that interface. The IFeatureCursor interface provides access to a set of features in a feature class. ![]() Provides access to members that hand out enumerated features, field collections and allows for the updating, deleting and inserting of features. Public interface IFeatureCursor extends Serializable Interface IFeatureCursor All Superinterfaces: Serializable All Known Subinterfaces: ITemporalCursor All Known Implementing Classes: FeatureCursor, IFeatureCursorProxy, RelQuer圜ursor, TemporalCursor SUMMARY: NESTED | FIELD | CONSTR | METHOD ![]()
0 Comments
Leave a Reply. |