共用方式為


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)

參數

傳回

適用於