GetType Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Type with the specified name, performing a case-sensitive search.

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

public static Type GetType(
	string typeName
)

Parameters

typeName
Type: System..::..String
The assembly-qualified name of the type to get. See AssemblyQualifiedName. If the type is in the currently executing assembly or in Mscorlib.dll, it is sufficient to supply the type name qualified by its namespace.

Return Value

Type: System..::..Type
The type with the specified name, if found; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

Show: