共用方式為


Select

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Selects a range of text in the text box.

object.Select(start, length)

Arguments

start

int

The zero-based index of the first character in the selection.

length

int

The length of the selection, in characters.

Managed Equivalent

Select

Applies To

TextBox

Version Information

Silverlight 2