TextCompletionContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供在完成、未分割命令行文字內容中計算完成的詳細數據。
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
- 繼承
屬性
| CommandLineText |
分割之前命令行的完整文字,包括任何其他空格符。 |
| CursorPosition |
游標在命令行中的位置。 |
| ParseResult |
提供在完成、未分割命令行文字內容中計算完成的詳細數據。 (繼承來源 CompletionContext) |
| WordToComplete |
提供在完成、未分割命令行文字內容中計算完成的詳細數據。 (繼承來源 CompletionContext) |
方法
| AtCursorPosition(Int32) |
在指定的數據指標位置建立 的新實例 TextCompletionContext 。 |
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |