Share via


TextBox.Text 属性

此成员重写 TextBoxBase.Text

语法

声明
Public Overrides Property Text As String
用法
Dim instance As TextBox
Dim value As String

value = instance.Text

instance.Text = value
public override string Text { get; set; }
public:
virtual property String^ Text {
    String^ get () override;
    void set (String^ value) override;
}
/** @property */
public String get_Text ()

/** @property */
public void set_Text (String value)
public override function get Text () : String

public override function set Text (value : String)

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

.NET Compact Framework

受以下版本支持:2.0、1.0

请参见

参考

TextBox 类
TextBox 成员
System.Windows.Forms 命名空间