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


IGeoDatabaseBridge.GetFeatures Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGeoDatabaseBridge.GetFeatures Method

Get a cursor of Rows given a set of object ids.

[Visual Basic .NET]
Public Function GetFeatures ( _
    ByVal pFeatureClass As IFeatureClass, _
    ByRef fids As Int32[]&, _
    ByVal Recycling As Boolean _
) As IFeatureCursor
[C#]
public IFeatureCursor GetFeatures (
    IFeatureClass pFeatureClass,
    ref Int32[]& fids,
    ref bool Recycling
);
[C++]
HRESULT GetFeatures(
  IFeatureClass* pFeatureClass,
  fids* fids,
  VARIANT_BOOL Recycling,
  IFeatureCursor** Cursor
);
[C++]

Parameters pFeatureClass [in]
pFeatureClass is a parameter of type IFeatureClass fids [in] fids is a parameter of type Recycling [in] Recycling is a parameter of type VARIANT_BOOL Cursor [out, retval]
Cursor is a parameter of type IFeatureCursor

Product Availability

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

See Also

IGeoDatabaseBridge Interface

.NET Related Topics

Geodatabase API best practices