ESRI.ArcGIS.ADF.IMS | |
FeatureLayer Constructor(LayerIDDataset) | |
See Also |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class > FeatureLayer Constructor : FeatureLayer Constructor(LayerIDDataset) |
- dataset
- Dataset of the constructed FeatureLayer.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal dataset As LayerIDDataset _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public FeatureLayer( LayerIDDataset dataset ) |
Parameters
- dataset
- Dataset of the constructed FeatureLayer.
For an example of creating a FeatureLayer with a LayerIDDataset, see
FeatureLayer(string,
LayerIDDataset).
This method creates a new feature layer based on the ID of an existing feature layer. It is similar to FeatureLayer(FeatureLayer), except that it does not copy any properties of the existing layer other than using its data source. The renderer and any filter or buffer are not copied. You must set a renderer for the new layer in order for it to display on the map.
The ID of the FeatureLayer is required if adding the layer to the map. Set a unique layer ID before drawing the map.