TextBox.IAddChild.AddText(String) TextBox.IAddChild.AddText(String) TextBox.IAddChild.AddText(String) Method

定义

将节点的文本内容添加到对象。Adds the text content of a node to the object.

 virtual void System.Windows.Markup.IAddChild.AddText(System::String ^ text) = System::Windows::Markup::IAddChild::AddText;
void IAddChild.AddText (string text);
Sub AddText (text As String) Implements IAddChild.AddText

参数

text
String String String

要添加到该对象的字符串。A string to add to the object.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TextBox 实例被强制转换为 IAddChild 接口时使用。It can be used only when the TextBox instance is cast to an IAddChild interface.

适用于