Share via


PredictiveSuggestion Constructors

Definition

Overloads

PredictiveSuggestion(String)

Initializes a new instance of the PredictiveSuggestion class.

PredictiveSuggestion(String, String)

Initializes a new instance of the PredictiveSuggestion class.

PredictiveSuggestion(String)

Initializes a new instance of the PredictiveSuggestion class.

public PredictiveSuggestion (string suggestion);
new System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion : string -> System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion
Public Sub New (suggestion As String)

Parameters

suggestion
String

The predictive suggestion text.

Applies to

PredictiveSuggestion(String, String)

Initializes a new instance of the PredictiveSuggestion class.

public PredictiveSuggestion (string suggestion, string? toolTip);
new System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion : string * string -> System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion
Public Sub New (suggestion As String, toolTip As String)

Parameters

suggestion
String

The predictive suggestion text.

toolTip
String

The tooltip of the suggestion.

Applies to