com.esri.arcgis.geodatabase
Interface IFeatureClassUtil

All Superinterfaces:
Serializable
All Known Implementing Classes:
IFeatureClassUtilProxy, SchematicInMemoryFeatureClass

public interface IFeatureClassUtil
extends Serializable

Provides access to members that return features in the specified spatial reference.

Remarks

This interface is implemented by feature classes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IFeature getFeature(int oID, ISpatialReference spatialReference)
          Gets the feature from the database with the specified object ID, in the specified spatial reference.
 IFeatureCursor getFeatures(Object oids, boolean recycling, ISpatialReference spatialReference)
          Get a cursor of features given a set of object ids, in the specified spatial reference.
 

Method Detail

getFeature

IFeature getFeature(int oID,
                    ISpatialReference spatialReference)
                    throws IOException,
                           AutomationException
Gets the feature from the database with the specified object ID, in the specified spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
oID - The oID (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatures

IFeatureCursor getFeatures(Object oids,
                           boolean recycling,
                           ISpatialReference spatialReference)
                           throws IOException,
                                  AutomationException
Get a cursor of features given a set of object ids, in the specified spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
oids - A Variant (in)
recycling - The recycling (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.