Click or drag to resize

ContainerHelperPeek Method (Object, Int32)

Returns the value from the dictionary or list or deque at the nth position as defined by the iterator of the dictionary or the index of the list or the iterator of the deque.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static Object Peek(
	Object obj,
	int num
)

Parameters

obj
Type: SystemObject
A dictionary or a list or a deque.
num
Type: SystemInt32
The number of the element to get in the iteration sequence.

Return Value

Type: Object
The element at the position to get.
See Also