StackBase.peek Method [AX 2012]

Returns the object for the _index number element in the stack.

public anytype peek(int _index)

Run On

Called

Parameters

_index
Type: int
The element number in the stack that you want to be peeked.

Return Value

Type: anytype
The object type for the stack.

If the element number referenced by _index does not exist, the method returns nullNothingnullptrunita null reference (Nothing in Visual Basic) for the object type that the class works on.

Community Additions

ADD
Show: