Constructor ArcGISMapImageSublayer
ArcGISMapImageSublayer(Int64)
Initializes a new instance of the ArcGISMapImageSublayer class with the specified sublayer id.
Declaration
public ArcGISMapImageSublayer(long id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | id | The sublayer id. This must be zero or greater. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
ArcGISMapImageSublayer(Int64, SublayerSource)
Initializes a new instance of the ArcGISMapImageSublayer class with the specified sublayer id and source.
Declaration
public ArcGISMapImageSublayer(long id, SublayerSource sublayerSource)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | id | The sublayer id. |
| SublayerSource | sublayerSource | The sublayer source. This should be zero or greater. |
Remarks
For use on ArcGIS Server MapServers that have Supports Dynamic Layers equal to true. For sublayer
sources other than rasters, you must set a Renderer.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| System.ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |