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