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


IDynamicDisplay2.Locate Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDynamicDisplay2.Locate Method

Locate named objects in the display. Provides a mechanism for hit-test, selection etc.

[Visual Basic .NET]
Public Function Locate ( _
    ByVal xView As Integer, _
    ByVal yView As Integer, _
    ByVal selectionMode As esriDynamicSelectionMode, _
    ByVal data As Object _
) As IArray
[C#]
public IArray Locate (
    int xView,
    int yView,
    esriDynamicSelectionMode selectionMode,
    object data
);
[C++]
HRESULT Locate(
  long xView,
  long yView,
  esriDynamicSelectionMode selectionMode,
  LPUNKNOWN data,
  IArray** hits
);
[C++]

Parameters xView [in] xView is a parameter of type long yView [in] yView is a parameter of type long selectionMode [in]
selectionMode is a parameter of type esriDynamicSelectionMode data [in] data is a parameter of type LPUNKNOWN hits [out, retval]
hits is a parameter of type IArray

Product Availability

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

See Also

IDynamicDisplay2 Interface