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>
System.Collections.Generic.ICollection<Layer>
IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<Layer>
System.Collections.Generic.IReadOnlyCollection<Layer>
IEnumerable<Layer>
IEnumerable
System.ComponentModel.INotifyPropertyChanged
System.Collections.Specialized.INotifyCollectionChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

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.