Partilhar via


CompletionCompleters.CompleteCommand Method

Definition

Overloads

CompleteCommand(String)
CompleteCommand(String, String, CommandTypes)

CompleteCommand(String)

public:
 static System::Collections::Generic::IEnumerable<System::Management::Automation::CompletionResult ^> ^ CompleteCommand(System::String ^ commandName);
public static System.Collections.Generic.IEnumerable<System.Management.Automation.CompletionResult> CompleteCommand (string commandName);
static member CompleteCommand : string -> seq<System.Management.Automation.CompletionResult>
Public Shared Function CompleteCommand (commandName As String) As IEnumerable(Of CompletionResult)

Parameters

commandName
String

Returns

Applies to

CompleteCommand(String, String, CommandTypes)

public static System.Collections.Generic.IEnumerable<System.Management.Automation.CompletionResult> CompleteCommand (string commandName, string moduleName, System.Management.Automation.CommandTypes commandTypes = System.Management.Automation.CommandTypes.All);
static member CompleteCommand : string * string * System.Management.Automation.CommandTypes -> seq<System.Management.Automation.CompletionResult>
Public Shared Function CompleteCommand (commandName As String, moduleName As String, Optional commandTypes As CommandTypes = System.Management.Automation.CommandTypes.All) As IEnumerable(Of CompletionResult)

Parameters

commandName
String
moduleName
String
commandTypes
CommandTypes

Returns

Applies to