![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FeatureLayer Constructor(LayerIDDataset) | |
See Also Send Feedback |
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) | ![]() |
---|---|
Dim dataset As LayerIDDataset Dim instance As New FeatureLayer(dataset) |
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.
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