Class DisposableFeatureCursor
- Namespace
- ESRI.Server.SOESupport
- Assembly
- ESRI.Server.SOESupport.dll
Wraps an IFeatureCursor and releases its COM resources when disposed.
public class DisposableFeatureCursor : IDisposable, IFeatureCursor
- Inheritance
-
DisposableFeatureCursor
- Implements
- Inherited Members
- Extension Methods
Constructors
DisposableFeatureCursor(IFeatureCursor)
Initializes a new instance of the DisposableFeatureCursor class.
public DisposableFeatureCursor(IFeatureCursor cursor)
Parameters
cursorIFeatureCursorThe feature cursor to wrap.
Properties
Fields
The fields Collection for this cursor.
public IFields Fields { get; }
Property Value
Remarks
See IFeatureCursor.Fields
Methods
DeleteFeature()
Delete the existing Feature in the database corresponding to the current position of the cursor.
public void DeleteFeature()
Remarks
See IFeatureCursor.DeleteFeature
Dispose()
Release the cursor to avoid leaking database resources.
public void Dispose()
FindField(string)
The index of the field with the specified name.
public int FindField(string name)
Parameters
namestring
Returns
Remarks
See IFeatureCursor.FindField
Flush()
Flush any outstanding buffered writes to the database.
public void Flush()
InsertFeature(IFeatureBuffer)
Insert a new Feature into the database using the property values in the input buffer. The ID of the new Feature is returned.
public object InsertFeature(IFeatureBuffer buffer)
Parameters
bufferIFeatureBuffer
Returns
Remarks
See IFeatureCursor.InsertFeature
NextFeature()
Advance the position of the cursor by one and return the Feature object at that position.
public IFeature NextFeature()
Returns
Remarks
See IFeatureCursor.NextFeature
UpdateFeature(IFeature)
Update the existing Feature in the database corresponding to the current position of the cursor.
public void UpdateFeature(IFeature feature)
Parameters
featureIFeature
Remarks
See IFeatureCursor.UpdateFeature