Visual Basic (Declaration) | |
---|---|
<DefaultValueAttribute()> Public Shadows Property Text As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveButton Dim value As String instance.Text = value value = instance.Text |
C# | |
---|---|
[DefaultValueAttribute()] public new string Text {get; set;} |
C++/CLI | |
---|---|
[DefaultValueAttribute()] public: new property String^ Text { String^ get(); void set ( String^ value); } |
This member is functionally equivalent to System.Web.UI.WebControls.ButtonClass.Text.
Target Platforms: Microsoft .NET Framework 2.0