This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServerQuery Interface > IMxdServerQuery.Find Method (ArcObjects .NET 10.5 SDK) |
Returns an array of 'find objects' (that implement the IFindObject interface) that contain the given search string. If layerID is equal to -1, all layers are searched.
[Visual Basic .NET] Public Function Find ( _ ByVal MapName As String, _ ByVal findString As String, _ ByVal LayerID As Integer _ ) As IArray
[C#] public IArray Find ( string MapName, string findString, int LayerID );
[C++]
HRESULT Find(
BSTR MapName,
BSTR findString,
long LayerID,
IArray** findObjects
);
[C++]
Parameters MapName [in] MapName is a parameter of type BSTR findString [in] findString is a parameter of type BSTR LayerID [in] LayerID is a parameter of type long findObjects [out, retval]
findObjects is a parameter of type IArray