Show / Hide Table of Contents

Method GetSublayerBySubtypeName

GetSublayerBySubtypeName(String)

Finds a SubtypeSublayer for a feature subtype based on the subtype name.

Declaration
public SubtypeSublayer GetSublayerBySubtypeName(string name)
Parameters
Type Name Description
String name

The subtype name of the sublayer to retrieve

Returns
Type Description
SubtypeSublayer

The SubtypeSublayer of the subtype name

Exceptions
Type Condition
ArgumentNullException

name is null.

ArgumentException

Value of name is empty.

ArcGISRuntimeException

No SubtypeSublayer was found for the given name.

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.
In This Article
Back to top Copyright © 2022 Esri.