ESRI.ArcGIS.ADF.IMS
SelectionBuffer Constructor(FeatureLayer,String,Double,BufferUnits,Boolean)
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > SelectionBuffer Class > SelectionBuffer Constructor : SelectionBuffer Constructor(FeatureLayer,String,Double,BufferUnits,Boolean)




targetLayer
The layer for which features will be selected.
whereExpression
The where clause for selecting features on a target layer.
distance
Distance of the buffer.
units
Units that the buffer distance is in.
project
Value that determines whether the buffer should be projected.
Constructs a SelectionBuffer object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal targetLayer As FeatureLayer, _
   ByVal whereExpression As String, _
   ByVal distance As Double, _
   ByVal units As BufferUnits, _
   ByVal project As Boolean _
)
Visual Basic (Usage)Copy Code
Dim targetLayer As FeatureLayer
Dim whereExpression As String
Dim distance As Double
Dim units As BufferUnits
Dim project As Boolean
 
Dim instance As SelectionBuffer(targetLayer, whereExpression, distance, units, project)
C# 
public SelectionBuffer( 
   FeatureLayer targetLayer,
   string whereExpression,
   double distance,
   BufferUnits units,
   bool project
)

Parameters

targetLayer
The layer for which features will be selected.
whereExpression
The where clause for selecting features on a target layer.
distance
Distance of the buffer.
units
Units that the buffer distance is in.
project
Value that determines whether the buffer should be projected.

See Also

© 2010 All Rights Reserved.