ToolStripTextBox.TextLength 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取控件中文本的长度。
public:
 property int TextLength { int get(); };
	[System.ComponentModel.Browsable(false)]
public int TextLength { get; }
	[<System.ComponentModel.Browsable(false)>]
member this.TextLength : int
	Public ReadOnly Property TextLength As Integer
	属性值
ToolStripTextBox 的文本中包含的字符数。
- 属性
 
注解
可以使用该 TextLength 属性来确定字符串中任务的字符数,例如在控件文本中搜索特定文本字符串,其中需要知道总字符数。