次の方法で共有


TextCompletionContext クラス

定義

コマンド ライン テキストを分割しない完全なコンテキストで入力候補を計算するための詳細を提供します。

public ref class TextCompletionContext : System::CommandLine::Completions::CompletionContext
public class TextCompletionContext : System.CommandLine.Completions.CompletionContext
type TextCompletionContext = class
    inherit CompletionContext
Public Class TextCompletionContext
Inherits CompletionContext
継承
TextCompletionContext

プロパティ

名前 説明
CommandLineText

分割前のコマンド ラインの完全なテキスト (追加の空白を含む)。

CursorPosition

コマンド ライン内のカーソルの位置。

ParseResult

完了が要求されている解析結果。

(継承元 CompletionContext)
WordToComplete

完了する単語のテキスト (ある場合)。

(継承元 CompletionContext)

メソッド

名前 説明
AtCursorPosition(Int32)

指定したカーソル位置に TextCompletionContext の新しいインスタンスを作成します。

適用対象