Symbol.GetCompletions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- context
- CompletionContext
返回
完成项的列表。