Show / Hide Table of Contents

Property Id

Id

Gets or sets the unique identifying string for the layer, for example specified in a map or scene.

Declaration
public string Id { get; set; }
Property Value
Type Description
String

The unique identifying string for the layer, for example specified in a map or scene.

Remarks

The id is used by other parts of this API to refer to a specific Layer, such as in a set of FeatureFenceParameters or a FacilityLayerDefinition. If not supplied, all layers will be assigned a unique id when created.

It is not recommended to change this property when the layer is obtained from a map or scene. If changed, ensure that the string is unique, for example based on a generated GUID.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.2
In This Article
Back to top Copyright © 2022 Esri.