CompletionContext.GetWordToComplete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text to be matched for completion, which can be used to filter a list of completions.
protected static string GetWordToComplete (System.CommandLine.Parsing.ParseResult parseResult, int? position = default);
static member GetWordToComplete : System.CommandLine.Parsing.ParseResult * Nullable<int> -> string
Protected Shared Function GetWordToComplete (parseResult As ParseResult, Optional position As Nullable(Of Integer) = Nothing) As String
Parameters
- parseResult
- ParseResult
A parse result.
The position within the raw input, if available, at which to provide completions.
Returns
A string containing the user-entered text to be matched for completions.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.