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




targetLayer
The layer for which features will be selected.
whereExpression
The where clause for selecting features on a target layer.
buffer
The buffer to copy fields from.
Copy constructor for constructing a SelectionBuffer object out of a Buffer object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal targetLayer As FeatureLayer, _
   ByVal whereExpression As String, _
   ByVal buffer As Buffer _
)
Visual Basic (Usage)Copy Code
Dim targetLayer As FeatureLayer
Dim whereExpression As String
Dim buffer As Buffer
 
Dim instance As SelectionBuffer(targetLayer, whereExpression, buffer)
C# 
public SelectionBuffer( 
   FeatureLayer targetLayer,
   string whereExpression,
   Buffer buffer
)

Parameters

targetLayer
The layer for which features will be selected.
whereExpression
The where clause for selecting features on a target layer.
buffer
The buffer to copy fields from.

Remarks

This approach to create a SelectionBuffer is useful when a DisplayBuffer has been created for highlighting buffer-selected features, and you want to obtain the attribute data for features using the same buffer properties.

See Also

© 2010 All Rights Reserved.