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 is the name of this method.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family