ToString Method (String)
Collapse the table of content
Expand the table of content

IntPtr.ToString Method (String)

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

Converts the numeric value of the current IntPtr object to its equivalent string representation.

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

'Declaration
Public Function ToString ( _
	format As String _
) As String

Parameters

format
Type: System.String
A format specification that governs how the current IntPtr object is converted.

Return Value

Type: System.String
The string representation of the value of the current IntPtr object.

If the format parameter is Nothing or an empty string (""), the return value is formatted with the general format specifier ("G").

The return value is formatted using the invariant culture.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft