Partager via


CommandPrediction.PredictInput Method

Definition

Overloads

PredictInput(Ast, Token[])
PredictInput(Ast, Token[], Int32)

PredictInput(Ast, Token[])

public static System.Threading.Tasks.Task<System.Collections.Generic.List<System.Management.Automation.Subsystem.PredictionResult>> PredictInput (System.Management.Automation.Language.Ast ast, System.Management.Automation.Language.Token[] astTokens);
static member PredictInput : System.Management.Automation.Language.Ast * System.Management.Automation.Language.Token[] -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Management.Automation.Subsystem.PredictionResult>>
Public Shared Function PredictInput (ast As Ast, astTokens As Token()) As Task(Of List(Of PredictionResult))

Parameters

ast
Ast
astTokens
Token[]

Returns

Applies to

PredictInput(Ast, Token[], Int32)

[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<System.Collections.Generic.List<System.Management.Automation.Subsystem.PredictionResult>> PredictInput (System.Management.Automation.Language.Ast ast, System.Management.Automation.Language.Token[] astTokens, int millisecondsTimeout);
[<System.Diagnostics.DebuggerStepThrough>]
static member PredictInput : System.Management.Automation.Language.Ast * System.Management.Automation.Language.Token[] * int -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Management.Automation.Subsystem.PredictionResult>>
Public Shared Function PredictInput (ast As Ast, astTokens As Token(), millisecondsTimeout As Integer) As Task(Of List(Of PredictionResult))

Parameters

ast
Ast
astTokens
Token[]
millisecondsTimeout
Int32

Returns

Attributes

Applies to