没有登录
中国开发网: 论坛: 程序员情感CBD: 贴子 112505
haitao
哦,是它!--使用串联运算符 (+) 使文本与 Text 属性串联 为什么不能换行呢?
使用串联运算符 (+) 使文本与 Text 属性串联 为什么不能换行呢?




.NET 框架类库

TextBoxBase.AppendText 方法 [C#]请参见
TextBoxBase 类 | TextBoxBase 成员 | System.Windows.Forms 命名空间 | Copy | Paste
要求
平台: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
语言
C#

C++

JScript

Visual Basic

全部显示


向文本框的当前文本追加文本。

[Visual Basic]
Public Sub AppendText( _
ByVal text As String _
)
[C#]
public void AppendText(
string text
);
[C++]
public: void AppendText(
String* text
);
[JScript]
public function AppendText(
text : String
);
参数
text
要向文本框的当前内容追加的文本。
备注
可以使用此方法向控件中的现有文本添加文本,而不使用串联运算符 (+) 使文本与 Text 属性串联。

要求
平台: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

请参见
TextBoxBase 类 | TextBoxBase 成员 | System.Windows.Forms 命名空间 | Copy | Paste



--------------------------------------------------------------------------------

将文档反馈发送给 Microsoft

© 2002 Microsoft Corporation。保留所有权利。
我的blog:http://szhaitao.blog.hexun.com & http://www.hoolee.com/user/haitao
--以上均为泛泛之谈--
不尽牛人滚滚来,无边硬伤纷纷现 人在江湖(出来的),哪能不挨刀(总归是要的)
网络对话,歧义纷生;你以为明白了对方的话,其实呢?

您所在的IP暂时不能使用低版本的QQ,请到:http://im.qq.com/下载安装最新版的QQ,感谢您对QQ的支持和使用

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录