Gets the item on the top of the stack.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public T Peek()
Public Function Peek As T
public: T Peek()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The stack is empty. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238