Show / Hide Table of Contents

Method GetSublayerBySubtypeCode

GetSublayerBySubtypeCode(Object)

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

Declaration
public SubtypeSublayer GetSublayerBySubtypeCode(object code)
Parameters
Type Name Description
System.Object code

The subtype code of the sublayer to retrieve

Returns
Type Description
SubtypeSublayer

The SubtypeSublayer of the subtype code

Remarks

When working with a particular ArcGISFeature, the Code is the value of the SubtypeField field. The corresponding SubtypeSublayer can be found using the value of that field.

Exceptions
Type Condition
ArcGISRuntimeException

No SubtypeSublayer was found for the given code.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.7 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.7 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.7 - 100.15
Xamarin.iOS100.7 - 100.15
UWP100.7 - 100.15
In This Article
Back to top Copyright © 2022 Esri.