This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDisplay2 Interface > IDynamicDisplay2.Locate Method (ArcObjects .NET 10.5 SDK) |
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