This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureIdentifyObj Interface > IFeatureIdentifyObj.Feature Property (ArcObjects .NET 10.5 SDK) |
The feature to be identified.
[Visual Basic .NET]
Public WriteOnly Property Feature
[C#] public void Feature {set;}
[C++]
HRESULT put_Feature(
IFeature*
);
[C++]
Parameters [in]
is a parameter of type IFeature
The Feature property is write-only. However, you can get a reference to the identified feature by casting to IRowIdentifyObject and then using the Row property. This could be coded as follows.