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 |
|---|---|---|
| System.String | name | The subtype name of the sublayer to retrieve |
Returns
| Type | Description |
|---|---|
| SubtypeSublayer | The SubtypeSublayer of the subtype name |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| ArgumentException | Value of |
| ArcGISRuntimeException | No SubtypeSublayer was found for the given |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.7 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.7 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.7 - 100.15 |
| Xamarin.iOS | 100.7 - 100.15 |
| UWP | 100.7 - 100.15 |
Relevant samples
Display subtype feature layer: Displays a composite layer of all the subtype values in a feature class.