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


IDynamicDisplay2.Locate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDisplay2 Interface > IDynamicDisplay2.Locate Method
ArcGIS Developer Help

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
);
[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 IUnknown

Product Availability

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

See Also

IDynamicDisplay2 Interface