Mono Class Library: System.Reflection.Assembly Overview | Members

System.Reflection.Assembly.GetType Method

Returns the Type object with the specified name defined in the current assembly.

public virtual Type GetType (string name)

Parameters

name
A string containing the name of the type defined in the current assembly.

Returns

A Type object that represents the specified type, or null if the specified Type was not found.

Exceptions

TypeReason
ArgumentExceptionname is equal to string.Empty or starts with the null character ('\0').
ArgumentNullExceptionname is null.

Remarks

Operation
As described above.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0