Show / Hide Table of Contents

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

id is less than zero.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

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

sublayerSource is null.

System.ArgumentException

id is less than zero.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.