Gets the feature from the database with the specified object ID, in the specified spatial reference.
[Visual Basic .NET] Public Function GetFeature ( _ ByVal OID As Integer, _ ByVal SpatialReference As ISpatialReference _ ) As IFeature
[C#] public IFeature GetFeature ( int OID, ISpatialReference SpatialReference );
[C++]
HRESULT GetFeature(
long OID,
ISpatialReference* SpatialReference,
IFeature** Feature
);
[C++]Parameters
OID [in] OID is a parameter of type long SpatialReference [in]SpatialReference is a parameter of type ISpatialReference
Feature [out, retval]Feature is a parameter of type IFeature
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.