ESRI.ArcGIS.ADF.IMS
SelectionBuffer Constructor(FeatureLayer,String,Double,BufferUnits,Boolean)
See Also  Send Feedback
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 New 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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.