Class IndexedCollection<T>
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
A collection of items that have a numeric (int) index.
public class IndexedCollection<T> : Collection<T>, IEnumerable
Type Parameters
T
The type of objects in this collection
- Inheritance
-
Collection<T>IndexedCollection<T>
- Implements
- Inherited Members
- Extension Methods
Methods
ContainsInstanceID(long)
Returns a boolean indicating an element with the given pIndex exists.
public bool ContainsInstanceID(long pIndex)
Parameters
pIndex
longThe index to check
Returns
ItemByInstanceID(long)
To get an Item for the given pIndex.
public T ItemByInstanceID(long pIndex)
Parameters
pIndex
longThe index of the item to get.
Returns
- T
The Item or Nothing