CompletionCompleters.CompleteCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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