Symbol.GetCompletions 方法

定义

重载

GetCompletions()

获取符号的完成。

GetCompletions(CompletionContext)

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

GetCompletions()

获取符号的完成。

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

返回

适用于

GetCompletions(CompletionContext)

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

public:
 abstract System::Collections::Generic::IEnumerable<System::CommandLine::Completions::CompletionItem ^> ^ GetCompletions(System::CommandLine::Completions::CompletionContext ^ context);
public abstract 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 MustOverride Function GetCompletions (context As CompletionContext) As IEnumerable(Of CompletionItem)

参数

返回

完成项的列表。

实现

适用于