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


IGeoDatabaseBridge.GetFeatures Method (ArcObjects .NET 10.6 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,
  SAFEARRAY(System.Int32)* fids,
  VARIANT_BOOL Recycling
);
[C++]

Parameters pFeatureClass [in]
pFeatureClass is a parameter of type IFeatureClass* fids [in]
fids is a parameter of type SAFEARRAY(long)* Recycling [in]
Recycling is a parameter of type bool

Product Availability

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

See Also

IGeoDatabaseBridge Interface

.NET Related Topics

Geodatabase API best practices