RichTextBox.SelectionType 屬性

定義

在控制範圍內取得選擇類型。

public:
 property System::Windows::Forms::RichTextBoxSelectionTypes SelectionType { System::Windows::Forms::RichTextBoxSelectionTypes get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.RichTextBoxSelectionTypes SelectionType { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectionType : System.Windows.Forms.RichTextBoxSelectionTypes
Public ReadOnly Property SelectionType As RichTextBoxSelectionTypes

屬性值

這是數值的位元組合 RichTextBoxSelectionTypes

屬性

備註

你可以利用此特性判斷目前控制中選擇的資料類型,以便在執行控制項內對當前選取執行任務時,正確處理選取。 該屬性可以代表列舉中任意組合的值 RichTextBoxSelectionTypes ,代表當前選擇中多種物件類型。

適用於

另請參閱