Partager via


Type.ToString Method

Returns a String object that represents the name of the current type.

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

Syntax

public override string ToString ()

Return Value

A String object representing the name of the current type.

Remarks

This method returns the fully qualified Common Language Runtime (CLR) namespace and the names for all primitive types.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Type Class
Type Members
System Namespace