sellermili.blogg.se

Arcobjects icursor count
Arcobjects icursor count










arcobjects icursor count

To delete a row retrieved from a search cursor, call IRow.Delete on the row itself.

Arcobjects icursor count update#

This should only be called on update cursors. The cursor must be initialized to a row (with the NextRow method) before this method can be successfully called. Specified by: updateRow in interface ICursor Parameters: row - A reference to a .IRow (in)ĪutomationException Delete the existing Row in the database corresponding to the current position of the cursor. This method should only be called on update cursors. Specified by: nextRow in interface ICursor Returns: A reference to a .IRow Throws: IOException - If there are interop problems.ĪutomationException Update the existing Row in the database corresponding to the current position of the cursor. If no rows remain in the result set, this method returns a null value. To retrieve all rows in a result set containing N rows, the application must make N calls to NextRow. The row object returned is allocated and hydrated by the cursor, and a reference to it is handed to the application. The NextRow method on a search or update cursor returns the next row in the result set to the application. Specified by: getFields in interface ICursor Specified by: getFields in interface IFeatureCursor 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 Row object at that position.

arcobjects icursor count

Throws: IOException - If there are interop problems.ĪutomationException - If the ArcObject component throws an exception.ĪutomationException The Fields Collection for this cursor. Specified by: findField in interface ICursor Specified by: findField in interface IFeatureCursor Parameters: name - The name (in) If the specified field cannot be found, this method returns a value of -1. Public int hashCode() the hashcode for this objectĪutomationException The index of the field with the specified name. Public boolean equals( Object o) Compare this object with another Throws: IOException - if there are interop problemsįeatureCursor theFeatureCursor = (FeatureCursor) obj Method Detail *įeatureCursor o = (FeatureCursor)obj // will not workįeatureCursor o = new FeatureCursor(obj) // Use this constructor instead * obj an object returned from ArcGIS Engine or Server This is semantically equivalent to casting obj to FeatureCursor.Ĭasting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects. Throws IOException Construct a FeatureCursor using a reference to such an object returned from ArcGIS Engine or Server. Methods inherited from interface .RemoteObjRef

arcobjects icursor count

ObjectĬlone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait Update the existing Row in the database corresponding to the current position of the cursor. Update the existing Feature in the database corresponding to the current position of the cursor. Insert a new Row 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.Īdvance the position of the cursor by one and return the Row object at that position. Insert a new Feature into the database using the property values in the input buffer. The index of the field with the specified name.įlush any outstanding buffered writes to the database. Public class FeatureCursor extends Object implements .RemoteObjRef, ICursor, IFeatureCursorĪvailable with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.Ĭonstruct a FeatureCursor using a reference to such an object returned from ArcGIS Engine or Server.ĭelete the existing Feature in the database corresponding to the current position of the cursor.ĭelete the existing Row in the database corresponding to the current position of the cursor. SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass FeatureCursor .FeatureCursor All Implemented Interfaces: ICursor, IFeatureCursor, .RemoteObjRef, Serializable












Arcobjects icursor count