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 |
---|---|
System.ArgumentNullException |
|
System.ArgumentException | Value of |
ArcGISRuntimeException | No SubtypeSublayer was found for the given |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.7 - 200.6 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.6 |