Command.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)

Параметры

Возвращаемое значение

Список элементов завершения.

Применяется к