TextBox.SelectionLength プロパティ

定義

テキスト ボックスの現在の選択範囲の文字数を取得または設定します。

public:
 property int SelectionLength { int get(); void set(int value); };
int SelectionLength();

void SelectionLength(int value);
public int SelectionLength { get; set; }
var int32 = textBox.selectionLength;
textBox.selectionLength = int32;
Public Property SelectionLength As Integer
<TextBox SelectionLength="int"/>

プロパティ値

Int32

int

テキスト ボックス内の現在の選択範囲の文字数。選択範囲がない場合は 0。

適用対象