ToString Method

Tuple(Of T1).ToString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a string that represents the value of this Tuple(Of T1) instance.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Overrides Function ToString As String

Return Value

Type: System.String
The string representation of this Tuple(Of T1) object.

The string returned by this method takes the form (Item1), where Item1 represents the value of the Item1 property. If the value of Item1 is Nothing, it is represented as String.Empty.

The following example illustrates the ToString method.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft