TextBox.Select(Int32, Int32) 方法

定義

在文字方塊中選取文字範圍。

public:
 virtual void Select(int start, int length) = Select;
void Select(int const& start, int const& length);
public void Select(int start, int length);
function select(start, length)
Public Sub Select (start As Integer, length As Integer)

參數

start
Int32

int

選取範圍中第一個字元之以零起始的索引。

length
Int32

int

選取範圍的長度,以字元為單位。

適用於