Returns a 
String containing the name of the 
Component, if any. This method should not be overridden. 
 Syntax
Syntax
| Visual Basic (Declaration) |  | 
| Public Overridable Function ToString() As String | 
 
| Visual Basic (Usage) |  Copy Code | 
| Dim instance As Chart
Dim value As String
 
value = instance.ToString()
 | 
 
| C# |  | 
| public virtual string ToString() | 
 
Return Value
A 
String containing the name of the 
Component, if any, or null if the 
Component is unnamed.
 
 Requirements
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
 See Also
See Also