Creates a Recordset based on a search for all features within a distance from a point that meet the criteria in an expression.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Function SearchByDistance( _ 
   ByVal center As Point,  _ 
   ByVal distance As Double,  _ 
   ByVal searchMethod As SearchMethod _ 
) As Recordset
C#
public Recordset SearchByDistance(
   Point center,
   double distance,
   SearchMethod searchMethod
)
C++
public:
 Recordset SearchByDistance(
   Point center,
   double distance,
   SearchMethod searchMethod
) sealed 
J#
public Recordset SearchByDistance(
   Point center,
   double distance,
   SearchMethod searchMethod
)
JScript
public  function SearchByDistance(
   center : Point,
   distance : double,
   searchMethod : SearchMethod
) : Recordset

Parameters

center
An object expression that evaluates to a Point object.
distance
A numeric expression that evaluates to the distance from the point.
searchMethod
Indicates the type of spatial search criteria target features must meet.

See Also