次の方法で共有


CompletionContext.GetWordToComplete メソッド

定義

入力候補の一覧をフィルター処理するために使用できる、入力候補に一致するテキストを取得します。

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

パラメーター

parseResult
ParseResult

解析結果。

position
Nullable<Int32>

入力候補を提供する生入力内の位置 (使用可能な場合)。

戻り値

入力候補と一致するユーザー入力テキストを含む文字列。

適用対象