ICommandPredictor.OnSuggestionAccepted 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.
The suggestion provided by the predictor was accepted.
public void OnSuggestionAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, uint session, string acceptedSuggestion);
public virtual void OnSuggestionAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, uint session, string acceptedSuggestion);
abstract member OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * uint32 * string -> unit
abstract member OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * uint32 * string -> unit
override this.OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * uint32 * string -> unit
Public Sub OnSuggestionAccepted (client As PredictionClient, session As UInteger, acceptedSuggestion As String)
Public Overridable Sub OnSuggestionAccepted (client As PredictionClient, session As UInteger, acceptedSuggestion As String)
Parameters
- client
- PredictionClient
Represents the client that initiates the call.
- session
- UInt32
Represents the mini-session where the accepted suggestion came from.
- acceptedSuggestion
- String
The accepted suggestion text.