Class RuntimeCollection<T>
This Collection handles internal ArcGIS Runtime collections and is functionally equivalent to
System.
Implements
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class RuntimeCollection<T> : IList<T>
Type Parameters
Name | Description |
---|---|
T | Collection type |
Properties
Name | Description |
---|---|
Count | Gets the number of elements contained in the RuntimeCollection<T>. |
Is |
Gets a value indicating whether the collection is read-only. |
Item[Int32] | Gets or sets the element at the specified index. |
Methods
Name | Description |
---|---|
Add(T) | Adds an item to the collection. |
AddRange(IEnumerable<T>) | Adds the elements of the specified collection to the end of the RuntimeCollection<T>. |
Clear() | Removes all items from the collection |
Clear |
Removes all elements from the collection. |
Contains(T) | Determines whether the collection contains a specific value. |
Copy |
Copies the elements of the collection to an
System. |
Get |
Returns an enumerator that iterates through the collection. |
Index |
Determines the index of a specific item in the collection. |
Insert(Int32, T) | Inserts an item to the collection at the specified index. |
Insert |
Inserts an element into the collection at the specified index. |
Move(Int32, Int32) | Moves the item at the specified index to a new location in the collection. |
Move |
Moves the item at the specified index to a new location in the collection. |
Remove(T) | Removes the first occurrence of a specific object from the collection |
Remove |
Removes the item at the specified index. |
Remove |
Removes the element at the specified index of the collection. |
Set |
Replaces the element at the specified index. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.13 |
.NET Framework | 100.0 - 100.8 |
.NET 5 | 100.11 |
.NET Core 3.1 | 100.7 - 100.8 |
Xamarin.Android | 100.0 - 100.13 |
Xamarin.iOS | 100.0 - 100.8 |
UWP | 100.0 - 100.15 |