CommandCompletion.GetNextResult(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the next result, moving forward or backward. Supports wraparound, so if there are any results at all, this method will never fail and never return null.
public:
System::Management::Automation::CompletionResult ^ GetNextResult(bool forward);
public System.Management.Automation.CompletionResult GetNextResult (bool forward);
member this.GetNextResult : bool -> System.Management.Automation.CompletionResult
Public Function GetNextResult (forward As Boolean) As CompletionResult
Parameters
- forward
- Boolean
True if we should move forward through the list, false if backwards.
Returns
The next completion result, or null if no results.