.NET Framework 4.6 and 4.5
Returns this instance of
; no actual conversion is performed. String
abstract ToString : unit -> string
override ToString : unit -> string
Because this method simply returns the current string unchanged, there is no need to call it directly. It is usually called implicitly in a composite formatting operation, as the example shows.
The following example demonstrates the
method. Note that the example does not explicitly call the ToString method. Instead, the method is called implicitly by the ToString composite formatting feature.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Supported in: 3.0, 2.0, 1.0
.NET for Windows Phone apps
Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Portable Class Library
Supported in: Portable Class Library