Interface IOrderedDictionary<TKey, TValue>
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
Represents a generic collection of key/value pairs that are ordered independently of the key and value.
public interface IOrderedDictionary<TKey, TValue> : IOrderedDictionary, IDictionary, ICollection, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Type Parameters
TKey
The type of the keys in the dictionary
TValue
The type of the values in the dictionary
- Inherited Members
- Extension Methods
Methods
Add(TKey, TValue)
int Add(TKey key, TValue value)
Parameters
key
TKeyvalue
TValue
Returns
GetValueAtIndex(int)
TValue GetValueAtIndex(int index)
Parameters
index
int
Returns
- TValue
Insert(int, TKey, TValue)
void Insert(int index, TKey key, TValue value)
Parameters
index
intkey
TKeyvalue
TValue
SetAtIndex(int, TValue)
void SetAtIndex(int index, TValue value)
Parameters
index
intvalue
TValue