 | ContainerHelperPeekK, V Method (DictionaryK, V, Int32) |
Returns the value from the dictionary at the nth position as defined by the iterator of the dictionary.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static K Peek<K, V>(
Dictionary<K, V> dict,
int num
)
Parameters
- dict
- Type: System.Collections.GenericDictionaryK, V
A dictionary. - num
- Type: SystemInt32
The number of the element to get in the iteration sequence.
Type Parameters
- K
- V
Return Value
Type:
KThe element at the position to get.
See Also