Argument.GetCompletions(CompletionContext) 方法

定义

获取命令行完成的建议值。

public:
 override System::Collections::Generic::IEnumerable<System::CommandLine::Completions::CompletionItem ^> ^ GetCompletions(System::CommandLine::Completions::CompletionContext ^ context);
public override System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions (System.CommandLine.Completions.CompletionContext context);
override this.GetCompletions : System.CommandLine.Completions.CompletionContext -> seq<System.CommandLine.Completions.CompletionItem>
Public Overrides Function GetCompletions (context As CompletionContext) As IEnumerable(Of CompletionItem)

参数

返回

完成项的列表。

适用于