Constructor SubtypeFeatureLayer
SubtypeFeatureLayer(ArcGISFeatureTable)
Initializes a new instance of the SubtypeFeatureLayer class.
Declaration
public SubtypeFeatureLayer(ArcGISFeatureTable featureTable)
Parameters
| Type | Name | Description |
|---|---|---|
| ArcGISFeatureTable | featureTable | The feature table used as the source of the subtype feature layer |
Remarks
If are there no FeatureSubtypes objects defined on the ArcGISFeatureTable, the layer will fail to load.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.7 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.7 - 200.8 |
| Xamarin.Android | 100.7 - 100.15 |
| Xamarin.iOS | 100.7 - 100.15 |
| UWP | 100.7 - 200.8 |
Relevant samples
Display subtype feature layer: Displays a composite layer of all the subtype values in a feature class.
SubtypeFeatureLayer(Item, Int64)
Initializes a new instance of the SubtypeFeatureLayer class from a feature service portal item.
Declaration
public SubtypeFeatureLayer(Item item, long layerId)
Parameters
| Type | Name | Description |
|---|---|---|
| Item | item | A feature service PortalItem. |
| System.Int64 | layerId | The layer id for which to create the layer. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.12 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.12 - 200.8 |
| Xamarin.Android | 100.12 - 100.15 |
| Xamarin.iOS | 100.12 - 100.15 |
| UWP | 100.12 - 200.8 |