Returns a
System.String that represents the current
System.Object.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides Function ToString() As String |
| C# | |
|---|
public override string ToString() |
| Managed Extensions for C++ | |
|---|
public: string* ToString(); override |
| C++/CLI | |
|---|
public:
String^ ToString(); override |
Return Value
A
System.String that represents the current
System.Object.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also