Show / Hide Table of Contents

Class FeatureSubtype

Describes a subset of features in an ArcGISFeatureTable that share the same integer attribute value.

Inheritance
System.Object
FeatureSubtype
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class FeatureSubtype
Remarks

Feature subtypes categorize features in a dataset based on the value of an integer attribute. A subtype can define different default values or domains for fields. For example, city streets in a feature table could be categorized into three feature subtypes: local streets, collector streets, and arterial streets. Feature subtypes can also be used with utility networks to represent asset groups.

If FeatureSubtypes contains one or more FeatureSubtype, you can use SubtypeFeatureLayer(ArcGISFeatureTable) to create a SubtypeFeatureLayer. You can then obtain a sublayer for each of the feature sub types from SubtypeSublayers. Each SubtypeSublayer allows you to configure different layer properties, such as opacity, renderer, and scale, for each FeatureSubtype. This is particularly useful for data, such as utility networks, in which many different network elements are grouped into a single subtype feature layer.

If you build an editing application, you can use CreateFeature(FeatureSubtype) to create a new feature with the specified feature subtype. The PrototypeAttributes will ensure that a default set of attribute values are applied to the ArcGISFeature and the Domains are utilized.

Properties

Name Description
Code

Gets the feature subtype's code.

Domains

Gets the associated Domains with this feature subtype.

FieldOverrides

Gets the fields defined for this feature subtype.

Name

Gets the name of the feature subtype.

PrototypeAttributes

Gets the prototype for creating a Feature with this subtype.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.3 - 200.7
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.