Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.7 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.7 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.7 - 100.15
iOS100.7 - 100.15
UWP100.7 - 200.0
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.

Int64 layerId

The layer id for which to create the layer.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.12 - 200.0
.NET 5100.12
.NET Core 3.1100.12
Android100.12 - 100.15
iOS100.12 - 100.15
UWP100.12 - 200.0
In This Article
Back to top Copyright © 2022 Esri.