Compartir a través de


Type.GetType Method

Gets the type with the specified name by performing a case-sensitive search.

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

Syntax

public static Type GetType (
         string typeName
)

Parameters

  • typeName
    The name of the type you want to get.

Return Value

The type with the specified name, if it is found; otherwise, a null reference.

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