Condividi tramite


CommandCompletion.GetNextResult(Boolean) Method

Definition

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.

Applies to