MapMatrix NetGIS Class Library

Command.Find Method 

Find elements based upon an attribute query

public DataTable Find(
   string LayerId,
   string SQLQuery,
   ZoomToResults Zoom
);

Parameters

LayerId
LayerId of the Layer to identify
SQLQuery
SQL query to apply to layer (SQL standards imposed by data adapters defined in Custom Data Adapters)
Zoom
Flag indicating whether or not to automatically zoom to the results of the query

Return Value

List of attributes of elements that match the criteria

See Also

Command Class | MapMatrix.MapControls Namespace