ESRI.ArcGIS.ADF.IMS | |
FeatureLayer Constructor(FeatureLayer) | |
See Also |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class > FeatureLayer Constructor : FeatureLayer Constructor(FeatureLayer) |
- fromLayer
- FeatureLayer from which to copy fields.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal fromLayer As FeatureLayer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public FeatureLayer( FeatureLayer fromLayer ) |
Parameters
- fromLayer
- FeatureLayer from which to copy fields.
This copies an existing FeatureLayer, including any renderer, filter and buffer. To copy a layer with no renderer or selection, see FeatureLayer(string, LayerIDDataset).
If you want to select and highlight features from an existing layer, you may find one of the CreateSelectionLayer methods more convenient.