Class ObjectCollection
An observable collection of ArcGIS Runtime supported objects.
Inheritance
Esri.ArcGISRuntime.RuntimeCollection <Object>
Esri.ArcGISRuntime.RuntimeObservableCollection <Object>
ObjectCollection
Implements
System.Collections.Generic.ICollection <Object>
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList <Object>
System.Collections.Generic.IReadOnlyCollection <Object>
System.Collections.Generic.IEnumerable <Object>
System.Collections.IEnumerable
System.ComponentModel.INotifyPropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ObjectCollection : RuntimeObservableCollection<object>, IList<object>, ICollection<object>, IList, ICollection, IReadOnlyList<object>, IReadOnlyCollection<object>, IEnumerable<object>, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
Remarks
Used by ArcGIS Runtime to hold a collection of objects with potentially disparate types. Objects must be of types supported as primitive ArcGIS Runtime types.
Supported types:
- Boolean
- String
- System.
Single - Double
- SByte
- System.
Int16 - System.
Int32 - System.
Int64 - Byte
- UInt16
- System.
UInt32 - System.
UInt64 - Date
Time - System.
Date Time Offset - System.
Guid
Additionally, null
values are supported.
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |