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


IMxdServerQuery.Find Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServerQuery Interface > IMxdServerQuery.Find Method
ArcGIS Developer Help

IMxdServerQuery.Find Method

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

Product Availability

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

See Also

IMxdServerQuery Interface