ToString Method

_Type.ToString Method ()


Provides COM objects with version-independent access to the Type.ToString method.

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

string ToString()

Return Value

Type: System.String

A String representing the name of the current Type.

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.ToString method returns the name of the current Type.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft