Show / Hide Table of Contents

Class LayerCollection

A collection of layers

Inheritance
Object
Esri.ArcGISRuntime.RuntimeCollection<Layer>
Esri.ArcGISRuntime.RuntimeObservableCollection<Layer>
LayerCollection
Implements
IList<Layer>
ICollection<Layer>
IList
ICollection
IReadOnlyList<Layer>
IReadOnlyCollection<Layer>
IEnumerable<Layer>
IEnumerable
INotifyPropertyChanged
INotifyCollectionChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class LayerCollection : RuntimeObservableCollection<Layer>, IList<Layer>, ICollection<Layer>, IList, ICollection, IReadOnlyList<Layer>, IReadOnlyCollection<Layer>, IEnumerable<Layer>, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged

Constructors

Name Description
LayerCollection()

Initializes a new instance of the LayerCollection class.

Properties

Name Description
Item[String]

Gets a layer in the collection by its Id.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

Relevant samples

Add an integrated mesh layer: View an integrated mesh layer from a scene service.
Add ENC exchange set: Display nautical charts per the ENC specification.
Add features: Add features to a feature layer.
Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
In This Article
Back to top Copyright © 2022 Esri.