This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClassUtil Interface > IFeatureClassUtil.GetFeature Method (ArcObjects .NET 10.4 SDK) |
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