Show / Hide Table of Contents

Class KmlNodeCollection

An observable collection of KmlNodes.

Inheritance
Object
Esri.ArcGISRuntime.RuntimeCollection<KmlNode>
Esri.ArcGISRuntime.RuntimeObservableCollection<KmlNode>
KmlNodeCollection
Implements
IList<KmlNode>
System.Collections.Generic.ICollection<KmlNode>
IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<KmlNode>
System.Collections.Generic.IReadOnlyCollection<KmlNode>
IEnumerable<KmlNode>
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.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlNodeCollection : RuntimeObservableCollection<KmlNode>, IList<KmlNode>, ICollection<KmlNode>, IList, ICollection, IReadOnlyList<KmlNode>, IReadOnlyCollection<KmlNode>, IEnumerable<KmlNode>, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
Remarks

Used to traverse the KmlNode objects for examining/using individual KML features.

Many KML documents have multiple levels of nested KML nodes. To traverse through all of the KML nodes, recursively test all KmlNodes to see if they contain child KmlNodes. When writing your recursive function pay particular attention to the properties: KmlDataset.RootNodes, KmlNetworkLink.ChildNodes, and KmlContainer.ChildNodes (inherited by KmlDocument and KmlFolder).

See Also

KmlNode

Applies to

TargetVersions
.NET Standard 2.0100.4 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.4 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 100.15

Relevant samples

Create and save KML file: Construct a KML document and save it as a KMZ file.
List KML contents: List the contents of a KML file.
In This Article
Back to top Copyright © 2022 Esri.