Compartilhar via


PSEditionArgumentCompleter.CompleteArgument Method

Definition

CompleteArgument.

public:
 virtual System::Collections::Generic::IEnumerable<System::Management::Automation::CompletionResult ^> ^ CompleteArgument(System::String ^ commandName, System::String ^ parameterName, System::String ^ wordToComplete, System::Management::Automation::Language::CommandAst ^ commandAst, System::Collections::IDictionary ^ fakeBoundParameters);
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.PSEditionArgumentCompleter+<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);
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>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.PowerShell.Commands.PSEditionArgumentCompleter+<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 Function CompleteArgument (commandName As String, parameterName As String, wordToComplete As String, commandAst As CommandAst, fakeBoundParameters As IDictionary) As IEnumerable(Of 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
parameterName
String
wordToComplete
String
commandAst
CommandAst
fakeBoundParameters
IDictionary

Returns

Implements

Attributes

Applies to