| Visual Basic (Declaration) | |
|---|---|
Public Shared Property Caption As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim value As String WorkstationMessager.Caption = value value = WorkstationMessager.Caption | |
| C# | |
|---|---|
public static string Caption {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property static string* get_Caption(); public: __property static void set_Caption( string* value ); | |
Property Value
Type: System.String the Caption text for the displayed System.Windows.Forms.MessageBox.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code