This method returns a new instance of the command that precedes the current command in the Commands object. Unlike Next, this method does not change the current command but instead returns a new Command object.
Visual Basic |
---|
Public Function GetPrev() As Command |
Command object of the previous command.
See a similar example in the GetNext method.