Class ObjectCollection
An observable collection of ArcGIS Runtime supported objects.
Inheritance
System.Object
Esri.ArcGISRuntime.RuntimeCollection<System.Object>
Esri.ArcGISRuntime.RuntimeObservableCollection<System.Object>
ObjectCollection
Implements
System.Collections.Generic.IList<System.Object>
ICollection<System.Object>
System.Collections.IList
System.Collections.Generic.IReadOnlyList<System.Object>
IReadOnlyCollection<System.Object>
System.Collections.Generic.IEnumerable<System.Object>
System.ComponentModel.INotifyPropertyChanged
System.Collections.Specialized.INotifyCollectionChanged
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ToString()
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
- Single
- Double
- SByte
- Int16
- Int32
- System.Int64
- System.Byte
- System.UInt16
- System.UInt32
- System.UInt64
- DateTime
- DateTimeOffset
- 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 |