Class KmlNodeCollection
An observable collection of KmlNodes.
Inheritance
Esri.ArcGISRuntime.RuntimeCollection<KmlNode>
Esri.ArcGISRuntime.RuntimeObservableCollection<KmlNode>
KmlNodeCollection
Implements
System.Collections.Generic.ICollection<KmlNode>
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<KmlNode>
System.Collections.Generic.IReadOnlyCollection<KmlNode>
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)
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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.4 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.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.