| Visual Basic (Declaration) | |
|---|---|
Public Overrides Function ToString() As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override string ToString() | |
| C++/CLI | |
|---|---|
public: String^ ToString(); override | |
Return Value
String that contains the name of this class.Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family