ICompletionSource.GetCompletions(CompletionContext) 方法

定义

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

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

参数

返回

适用于