Visual Basic (Declaration) | |
---|---|
Overrides Public Function ToString() As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SwapColorsCommand Dim value As String value = instance.ToString() |
C# | |
---|---|
public override string ToString() |
C++/CLI | |
---|---|
public: String^ ToString(); override |
Return Value
String that contains the name of this class.Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)