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 >
System.Collections.Generic.ICollection <System.Object >
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList <System.Object >
System.Collections.Generic.IReadOnlyCollection <System.Object >
IEnumerable<System.Object >
System.ComponentModel.INotifyPropertyChanged
System.Collections.Specialized.INotifyCollectionChanged
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
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:
- System.
Boolean - String
- Single
- System.
Double - SByte
- System.
Int16 - System.
Int32 - System.
Int64 - System.
Byte - UInt16
- System.
UInt32 - System.
UInt64 - System.
Date Time - Date
Time Offset - 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 |