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


IIdentify.Identify Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IIdentify Interface > IIdentify.Identify Method
ArcGIS Developer Help

IIdentify.Identify Method

Identifies objects at the specified location.

[Visual Basic .NET]
Public Function Identify ( _
    ByVal pGeom As IGeometry _
) As IArray
[C#]
public IArray Identify (
    IGeometry pGeom
);
[C++]
HRESULT Identify(
  IGeometry* pGeom
);
[C++]
Parameters
pGeom [in]

pGeom is a parameter of type IGeometry*

Product Availability

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

Remarks

When the IIdentify interface is on a map layer, the Identify method returns an array of FeatureIdentifyObject objects.

On a FeatureIdentifyObject, you can do a QI to the IIdentifyObj interface to get more information about the identified feature. The IIdentifyObj interface returns the window handle, layer, and name of the feature; it has methods to flash the feature in the display and to display a context menu at the Identify location.

This method performs an identify operation with the provided geometry.  When identifying layers, typically a small envelope is passed in rather than a point to account for differences in the precision of the display and the feature geometry.


 

See Also

IIdentify Interface