This document is archived and information here might be outdated.  Recommended version.


IFeatureClassUtil.GetFeatures Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeatureClassUtil.GetFeatures Method

Get a cursor of features given a set of object ids, in the specified spatial reference.

[Visual Basic .NET]
Public Function GetFeatures ( _
    ByVal oids As Object, _
    ByVal Recycling As Boolean, _
    ByVal SpatialReference As ISpatialReference _
) As IFeatureCursor
[C#]
public IFeatureCursor GetFeatures (
    object oids,
    bool Recycling,
    ISpatialReference SpatialReference
);
[C++]
HRESULT GetFeatures(
  VARIANT oids,
  VARIANT_BOOL Recycling,
  ISpatialReference* SpatialReference,
  IFeatureCursor** Cursor
);
[C++]

Parameters oids [in] oids is a parameter of type VARIANT Recycling [in] Recycling is a parameter of type VARIANT_BOOL SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference Cursor [out, retval]
Cursor is a parameter of type IFeatureCursor

Product Availability

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

See Also

IFeatureClassUtil Interface