| Visual Basic (Declaration) | |
|---|---|
<RefreshPropertiesAttribute(RefreshProperties.All)> Public Overridable Property Text As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As MainForm Dim value As String instance.Text = value value = instance.Text | |
| C# | |
|---|---|
[RefreshProperties(RefreshProperties.All)] public virtual string Text {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[RefreshProperties(RefreshProperties.All)] public: __property virtual string* get_Text(); public: __property virtual void set_Text( string* value ); | |
| C++/CLI | |
|---|---|
[RefreshProperties(RefreshProperties.All)] public: virtual property String^ Text { String^ get(); void set ( String^ value); } | |
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family