![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FeatureLayer Constructor(FeatureLayer,Filter,Buffer,String) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class > FeatureLayer Constructor : FeatureLayer Constructor(FeatureLayer,Filter,Buffer,String) |
- fromLayer
- FeatureLayer from which to copy fields.
- filter
- New Filter of the constructed FeatureLayer.
- buffer
- New Buffer of the constructed FeatureLayer.
- id
- ID of the constructed FeatureLayer. This value must be unique if the constructed layer is to be added to a LayerCollection.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal fromLayer As FeatureLayer, _ ByVal filter As Filter, _ ByVal buffer As Buffer, _ ByVal id As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim fromLayer As FeatureLayer Dim filter As Filter Dim buffer As Buffer Dim id As String Dim instance As New FeatureLayer(fromLayer, filter, buffer, id) |
Parameters
- fromLayer
- FeatureLayer from which to copy fields.
- filter
- New Filter of the constructed FeatureLayer.
- buffer
- New Buffer of the constructed FeatureLayer.
- id
- ID of the constructed FeatureLayer. This value must be unique if the constructed layer is to be added to a LayerCollection.
This method creates a new FeatureLayer with a buffer around selected features. The buffer can be either a DisplayBuffer or a SelectionBuffer. A DisplayBuffer is used to show a buffer surrounding selected features on a map image. A SelectionBuffer is used to retrieve information about features in the same layer or another layer that are within the buffer. It is not used to display the buffer.
When using a DisplayBuffer for the buffer, this method produces the same result as CreateBufferLayer. When using a SelectionBuffer, the result is the same as with CreateBufferSelectionLayer Method. See those methods for additional information and examples.
The layer ID can be any combination of alpha and numeric characters.
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