Initializes a new instance of the FeatureLayer class with the specified DataSourceProperties and Symbol.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public FeatureLayer(
	DataSourceProperties dataSourceProperties,
	Symbol symbol
)
Visual Basic (Declaration)
Public Sub New ( _
	dataSourceProperties As DataSourceProperties, _
	symbol As Symbol _
)

Parameters

dataSourceProperties
Type: ESRI.ArcGISExplorer.Data..::.DataSourceProperties

The data source properties for the underlying data of the new FeatureLayer.
symbol
Type: ESRI.ArcGISExplorer.Mapping..::.Symbol

The Symbol with which to draw the new FeatureLayer.

Remarks

As an alternative to this constructor, consider using the data format specific static methods OpenArcSDETable(ArcSDEConnectionProperties, String), OpenFileGeodatabaseTable(String, String), OpenFromTable(Table), or OpenShapefile(String) to create new FeatureLayers from different data sources, and then setting the Symbol property of the new FeatureLayer.

See Also