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


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Function SearchBuffer( _ 
   ByVal shape As Object,  _ 
   ByVal distance As Double,  _ 
   ByVal searchMethod As SearchMethod,  _ 
   ByVal expr As String _ 
) As Recordset
C#
public Recordset SearchBuffer(
   object shape,
   double distance,
   SearchMethod searchMethod,
   string expr
)
C++
public:
 Recordset SearchBuffer(
   Object shape,
   double distance,
   SearchMethod searchMethod,
   String expr
) sealed 
J#
public Recordset SearchBuffer(
   object shape,
   double distance,
   SearchMethod searchMethod,
   string expr
)
JScript
public  function SearchBuffer(
   shape : Object,
   distance : double,
   searchMethod : SearchMethod,
   expr : String
) : Recordset

Parameters

shape
An object expression that evaluates to a shape of Line type.
distance
A numeric expression that evaluates to the distance from the shape.
searchMethod
Indicates the type of spatial search criteria target features must meet.
expr
A string expression that forms the 'where' clause portion of the method. The expression may contain:
1. Any combination of VBScript operators, constants, literal values, functions and field names that evaluates to a value of type Boolean.
2. Or, if the layer is a spatial database layer and the EnablePassthroughQuery property is true, the expression may contain any combination of SQL operators, constants, literal values, functions and field names that evaluates to a value of type Boolean.

Remarks

Note
VBScript and SQL expressions use different types of quotes for string literals, VBScript uses double quotes ("), SQL uses single quotes (').

See Also