Class KmlNodeCollection
An observable collection of KmlNodes.
Inheritance
System.Object
Esri.ArcGISRuntime.RuntimeCollection<KmlNode>
Esri.ArcGISRuntime.RuntimeObservableCollection<KmlNode>
KmlNodeCollection
Implements
System.Collections.Generic.IList<KmlNode>
System.Collections.Generic.ICollection<KmlNode>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<KmlNode>
System.Collections.Generic.IReadOnlyCollection<KmlNode>
System.Collections.Generic.IEnumerable<KmlNode>
System.Collections.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)
System.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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.4 - 200.5 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.5 |
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.