DelimiterCompleter.CompleteArgument Method

Definition

Provides argument completion for the Delimiter parameter.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.PowerShell.Commands.DelimiterCompleter+<CompleteArgument>d__0))]
public System.Collections.Generic.IEnumerable<System.Management.Automation.CompletionResult> CompleteArgument(string commandName, string parameterName, string wordToComplete, System.Management.Automation.Language.CommandAst commandAst, System.Collections.IDictionary fakeBoundParameters);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.PowerShell.Commands.DelimiterCompleter+<CompleteArgument>d__0))>]
abstract member CompleteArgument : string * string * string * System.Management.Automation.Language.CommandAst * System.Collections.IDictionary -> seq<System.Management.Automation.CompletionResult>
override this.CompleteArgument : string * string * string * System.Management.Automation.Language.CommandAst * System.Collections.IDictionary -> seq<System.Management.Automation.CompletionResult>
Public Iterator Overridable NotOverridable Function CompleteArgument (commandName As String, parameterName As String, wordToComplete As String, commandAst As CommandAst, fakeBoundParameters As IDictionary) As IEnumerable(Of CompletionResult)

Parameters

commandName
String

The name of the command that is being completed.

parameterName
String

The name of the parameter that is being completed.

wordToComplete
String

The input text to filter the results by.

commandAst
CommandAst

The ast of the command that triggered the completion.

fakeBoundParameters
IDictionary

The parameters bound to the command.

Returns

Completion results.

Implements

Attributes

Applies to